Freeze project path in admin area
This commit is contained in:
parent
ed8912507d
commit
65abd8b20a
1 changed files with 3 additions and 5 deletions
|
@ -10,19 +10,17 @@
|
|||
Project name is
|
||||
.input
|
||||
= f.text_field :name, placeholder: "Example Project", class: "xxlarge"
|
||||
= f.submit project.new_record? ? 'Create project' : 'Save Project', class: "btn primary"
|
||||
|
||||
%hr
|
||||
.adv_settings
|
||||
%h6 Advanced settings:
|
||||
.clearfix
|
||||
= f.label :path do
|
||||
Git Clone
|
||||
Path
|
||||
.input
|
||||
.input-prepend
|
||||
%span.add-on= Gitlab.config.ssh_path
|
||||
= f.text_field :path, placeholder: "example_project", disabled: !!project.id
|
||||
%span.add-on= ".git"
|
||||
%strong
|
||||
= text_field_tag :ppath, @admin_project.path_to_repo, class: "xlarge", disabled: true
|
||||
.clearfix
|
||||
= f.label :code do
|
||||
URL
|
||||
|
|
Loading…
Add table
Reference in a new issue