Removed hardcoded SSH Username on project create/edit form

This commit is contained in:
Abhi Devireddy 2012-03-06 17:39:07 -06:00
parent eb7bbedb20
commit a7c8ce6a4d
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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