Skip to content
Snippets Groups Projects
Commit 65abd8b2 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Freeze project path in admin area

parent ed891250
No related branches found
No related tags found
No related merge requests found
Loading
@@ -10,19 +10,17 @@
Loading
@@ -10,19 +10,17 @@
Project name is Project name is
.input .input
= f.text_field :name, placeholder: "Example Project", class: "xxlarge" = f.text_field :name, placeholder: "Example Project", class: "xxlarge"
= f.submit project.new_record? ? 'Create project' : 'Save Project', class: "btn primary"
   
%hr %hr
.adv_settings .adv_settings
%h6 Advanced settings: %h6 Advanced settings:
.clearfix .clearfix
= f.label :path do = f.label :path do
Git Clone Path
.input .input
.input-prepend .input-prepend
%span.add-on= Gitlab.config.ssh_path %strong
= f.text_field :path, placeholder: "example_project", disabled: !!project.id = text_field_tag :ppath, @admin_project.path_to_repo, class: "xlarge", disabled: true
%span.add-on= ".git"
.clearfix .clearfix
= f.label :code do = f.label :code do
URL URL
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment