Commit d08bb4b3 authored by Marin Jankovski's avatar Marin Jankovski

Add project name to rename repository section

parent 94d8698a
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment