gitlabhq/app/views/admin/groups/edit.html.haml

32 lines
1.1 KiB
Plaintext
Raw Normal View History

2013-02-07 11:42:52 +01:00
%h3.page_title Edit Group
%hr
= form_for [:admin, @group] do |f|
- if @group.errors.any?
2013-01-30 15:53:18 +01:00
.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"
2013-02-28 15:35:27 +01:00
.clearfix.group-description-holder
2013-02-07 11:42:52 +01:00
= 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
2013-02-07 11:42:52 +01:00
= f.submit 'Edit group', class: "btn btn-remove"
2013-01-29 21:18:19 +01:00
= link_to 'Cancel', admin_groups_path, class: "btn btn-cancel"