Commit d08bb4b3 authored by Marin Jankovski's avatar Marin Jankovski

Add project name to rename repository section

parent 94d8698a
...@@ -13,7 +13,11 @@ ...@@ -13,7 +13,11 @@
= f.label :name, class: 'control-label' do = f.label :name, class: 'control-label' do
Project name Project name
.col-sm-10 .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 .form-group
...@@ -124,6 +128,12 @@ ...@@ -124,6 +128,12 @@
.errors-holder .errors-holder
.panel-body .panel-body
= form_for(@project, html: { class: 'form-horizontal' }) do |f| = 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 .form-group
= f.label :path, class: 'control-label' do = f.label :path, class: 'control-label' do
%span Path %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