gitlab-org--gitlab-foss/app/views/groups/new.html.haml

29 lines
893 B
Text
Raw Normal View History

2013-01-24 10:47:09 -05:00
= form_for @group do |f|
- if @group.errors.any?
2013-01-30 09:53:18 -05:00
.alert.alert-error
2013-01-24 10:47:09 -05:00
%span= @group.errors.full_messages.first
.control-group
2013-01-24 10:47:09 -05:00
= f.label :name do
2013-10-18 00:28:49 -04:00
Group name
.controls
2013-08-07 16:40:29 -04:00
= f.text_field :name, placeholder: "Ex. OpenSource", class: "input-xxlarge left"
2013-02-19 14:02:25 -05:00
.control-group.group-description-holder
2013-02-19 14:02:25 -05:00
= f.label :description, "Details"
.controls
2013-08-07 16:40:29 -04:00
= f.text_area :description, maxlength: 250, class: "input-xxlarge js-gfm-input", rows: 4
2013-02-19 14:02:25 -05:00
.control-group
.controls
%ul
%li A group is a collection of several projects
%li Groups are private by default
%li Members of a group may only view projects they have permission to access
%li Group project URLs are prefixed with the group namespace
%li Existing projects may be moved into a group
2013-02-19 14:02:25 -05:00
.form-actions
= f.submit 'Create group', class: "btn btn-create"
2013-02-19 14:02:25 -05:00