summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarin Jankovski <maxlazio@gmail.com>2014-10-27 16:08:11 +0100
committerMarin Jankovski <maxlazio@gmail.com>2014-10-27 16:08:11 +0100
commitd08bb4b3a467d730009a97c79573854af79147d6 (patch)
tree6556b53800ebb7f4a0666ca7a046464d8fe1ca3b
parent94d8698a855e889a7e2d808ad4f63e02dd13c101 (diff)
downloadgitlab-ce-d08bb4b3a467d730009a97c79573854af79147d6.tar.gz
Add project name to rename repository section
-rw-r--r--app/views/projects/edit.html.haml12
1 files changed, 11 insertions, 1 deletions
diff --git a/app/views/projects/edit.html.haml b/app/views/projects/edit.html.haml
index f48f4bb2953..79be310c2cf 100644
--- a/app/views/projects/edit.html.haml
+++ b/app/views/projects/edit.html.haml
@@ -13,7 +13,11 @@
= f.label :name, class: 'control-label' do
Project name
.col-sm-10
- = f.text_field :name, placeholder: "Example Project", class: "form-control"
+ = f.text_field :name, placeholder: "Example Project", class: "form-control", readonly: true
+ %p.hint
+ Rename the project at
+ %strong Rename repository
+ section.
.form-group
@@ -124,6 +128,12 @@
.errors-holder
.panel-body
= form_for(@project, html: { class: 'form-horizontal' }) do |f|
+ .form-group.project_name_holder
+ = f.label :name, class: 'control-label' do
+ Project name
+ .col-sm-9
+ .form-group
+ = f.text_field :name, placeholder: "Example Project", class: "form-control"
.form-group
= f.label :path, class: 'control-label' do
%span Path