Commit ff6b3526 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'project_name_and_path_rename' into 'master'

Project name and path rename in the same section

Fixes #1577

See merge request !1223
parents ed9350dc 50ee0b81
......@@ -13,7 +13,7 @@
= 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", id: "project_name_edit"
.form-group
......@@ -124,6 +124,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
......
......@@ -4,7 +4,7 @@ class Spinach::Features::Project < Spinach::FeatureSteps
include SharedPaths
step 'change project settings' do
fill_in 'project_name', with: 'NewName'
fill_in 'project_name_edit', with: 'NewName'
uncheck 'project_issues_enabled'
end
......
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