32 lines
1.1 KiB
Plaintext
32 lines
1.1 KiB
Plaintext
%h3.page_title Edit Group
|
|
%hr
|
|
= form_for [:admin, @group] do |f|
|
|
- if @group.errors.any?
|
|
.alert.alert-error
|
|
%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"
|
|
|
|
.clearfix.group_description_holder
|
|
= f.label :description, "Details"
|
|
.input
|
|
= f.text_area :description, maxlength: 250, class: "xxlarge js-gfm-input", rows: 4
|
|
|
|
.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.
|
|
|
|
.form-actions
|
|
= f.submit 'Edit group', class: "btn btn-remove"
|
|
= link_to 'Cancel', admin_groups_path, class: "btn btn-cancel"
|