Removed hardcoded SSH Username on project create/edit form
This commit is contained in:
parent
eb7bbedb20
commit
a7c8ce6a4d
2 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@
|
||||||
Path
|
Path
|
||||||
.input
|
.input
|
||||||
.input-prepend
|
.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?
|
= f.text_field :path, :placeholder => "example_project", :disabled => !@admin_project.new_record?
|
||||||
.clearfix
|
.clearfix
|
||||||
= f.label :code do
|
= f.label :code do
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
Path
|
Path
|
||||||
.input
|
.input
|
||||||
.input-prepend
|
.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?
|
= f.text_field :path, :placeholder => "example_project", :disabled => !@project.new_record?
|
||||||
.clearfix
|
.clearfix
|
||||||
= f.label :code do
|
= f.label :code do
|
||||||
|
|
Loading…
Reference in a new issue