blob: 3918bf981a22213daf58785e8c647b4ae17d6ca2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
%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
.control-group.group_name_holder
= f.label :name do
Group name
.controls
= f.text_field :name, placeholder: "Example Group", class: "input-xxlarge"
.control-group.group-description-holder
= f.label :description, "Details"
.controls
= f.text_area :description, maxlength: 250, class: "input-xxlarge js-gfm-input", rows: 4
.control-group.group_name_holder
= f.label :path do
%span.cred Group path
.controls
= f.text_field :path, placeholder: "example-group", class: "input-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 'Save changes', class: "btn btn-primary"
= link_to 'Cancel', admin_groups_path, class: "btn btn-cancel"
|