2012-12-03 19:14:05 +01:00
|
|
|
%h3.page_title Rename Group
|
|
|
|
%hr
|
|
|
|
= form_for [:admin, @group] do |f|
|
|
|
|
- if @group.errors.any?
|
2013-01-30 15:53:18 +01:00
|
|
|
.alert.alert-error
|
2012-12-03 19:14:05 +01:00
|
|
|
%span= @group.errors.full_messages.first
|
|
|
|
.clearfix.group_name_holder
|
|
|
|
= f.label :name do
|
|
|
|
Group name is
|
|
|
|
.input
|
|
|
|
= f.text_field :name, placeholder: "Example Group", class: "xxlarge"
|
|
|
|
|
2012-12-14 04:14:05 +01:00
|
|
|
|
|
|
|
|
|
|
|
.clearfix.group_name_holder
|
|
|
|
= f.label :path do
|
|
|
|
%span.cred Group path is
|
|
|
|
.input
|
|
|
|
= f.text_field :path, placeholder: "example-group", class: "xxlarge danger"
|
|
|
|
%ul.cred
|
|
|
|
%li Changing group path can have unintended side effects.
|
|
|
|
%li Renaming group path will rename directory for all related projects
|
|
|
|
%li It will change web url for access group and group projects.
|
|
|
|
%li It will change the git path to repositories under this group.
|
|
|
|
|
2012-12-03 19:14:05 +01:00
|
|
|
.form-actions
|
2013-01-29 21:18:19 +01:00
|
|
|
= f.submit 'Rename group', class: "btn btn-remove"
|
|
|
|
= link_to 'Cancel', admin_groups_path, class: "btn btn-cancel"
|