summaryrefslogtreecommitdiff
path: root/app/views/projects/edit.html.haml
diff options
context:
space:
mode:
authorwinniehell <git@winniehell.de>2017-01-13 19:28:33 -0500
committerwinniehell <git@winniehell.de>2017-01-25 22:17:08 +0100
commit65be0979e48424d04820d4e78996cac538934b18 (patch)
tree22fe448cbfe828f31f310080a6fdd4f5a23f7aaa /app/views/projects/edit.html.haml
parent7ce79f31670f3beaf5b29b06144a34e32b7cc4ec (diff)
downloadgitlab-ce-65be0979e48424d04820d4e78996cac538934b18.tar.gz
Display project ID in project settings (!8572)
Diffstat (limited to 'app/views/projects/edit.html.haml')
-rw-r--r--app/views/projects/edit.html.haml15
1 files changed, 11 insertions, 4 deletions
diff --git a/app/views/projects/edit.html.haml b/app/views/projects/edit.html.haml
index 1d7fdf68cb3..114865935d6 100644
--- a/app/views/projects/edit.html.haml
+++ b/app/views/projects/edit.html.haml
@@ -7,10 +7,17 @@
.project-edit-errors
= form_for [@project.namespace.becomes(Namespace), @project], remote: true, html: { multipart: true, class: "edit-project" }, authenticity_token: true do |f|
%fieldset.append-bottom-0
- .form-group
- = f.label :name, class: 'label-light' do
- Project name
- = f.text_field :name, class: "form-control", id: "project_name_edit"
+ .row
+ .form-group.col-md-9
+ = f.label :name, class: 'label-light' do
+ Project name
+ = f.text_field :name, class: "form-control", id: "project_name_edit"
+
+ .form-group.col-md-3
+ = f.label :id, class: 'label-light' do
+ Project ID
+ = f.text_field :id, class: 'form-control', readonly: true
+
.form-group
= f.label :description, class: 'label-light' do
Project description