Merge pull request #520 from abhid/default-ssh-username
Removed hardcoded SSH Username on project create/edit form. Fixes Issue #493
This commit is contained in:
commit
98b484b996
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue