Commit a7c8ce6a authored by Abhi Devireddy's avatar Abhi Devireddy

Removed hardcoded SSH Username on project create/edit form

parent eb7bbedb
......@@ -13,7 +13,7 @@
Path
.input
.input-prepend
%span.add-on= "git@#{GIT_HOST["host"]}:"
%span.add-on= "#{GIT_HOST["git_user"]}@#{GIT_HOST["host"]}:"
= f.text_field :path, :placeholder => "example_project", :disabled => !@admin_project.new_record?
.clearfix
= f.label :code do
......
......@@ -12,7 +12,7 @@
Path
.input
.input-prepend
%span.add-on= "git@#{GIT_HOST["host"]}:"
%span.add-on= "#{GIT_HOST["git_user"]}@#{GIT_HOST["host"]}:"
= f.text_field :path, :placeholder => "example_project", :disabled => !@project.new_record?
.clearfix
= f.label :code do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment