2013-01-24 15:47:09 +00:00
|
|
|
= form_for @group do |f|
|
|
|
|
- if @group.errors.any?
|
2013-01-30 14:53:18 +00:00
|
|
|
.alert.alert-error
|
2013-01-24 15:47:09 +00:00
|
|
|
%span= @group.errors.full_messages.first
|
2013-12-30 23:27:02 +00:00
|
|
|
.form-group
|
2013-01-24 15:47:09 +00:00
|
|
|
= f.label :name do
|
2013-10-18 04:28:49 +00:00
|
|
|
Group name
|
2013-12-30 23:27:02 +00:00
|
|
|
.col-sm-10
|
2013-08-07 20:40:29 +00:00
|
|
|
= f.text_field :name, placeholder: "Ex. OpenSource", class: "input-xxlarge left"
|
2013-02-19 19:02:25 +00:00
|
|
|
|
2013-12-30 23:27:02 +00:00
|
|
|
.form-group.group-description-holder
|
2013-02-19 19:02:25 +00:00
|
|
|
= f.label :description, "Details"
|
2013-12-30 23:27:02 +00:00
|
|
|
.col-sm-10
|
2013-08-07 20:40:29 +00:00
|
|
|
= f.text_area :description, maxlength: 250, class: "input-xxlarge js-gfm-input", rows: 4
|
2013-02-19 19:02:25 +00:00
|
|
|
|
2013-12-30 23:27:02 +00:00
|
|
|
.form-group
|
|
|
|
.col-sm-10
|
2013-06-07 14:41:01 +00:00
|
|
|
%ul
|
2013-10-23 15:33:29 +00:00
|
|
|
%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-06-07 14:41:01 +00:00
|
|
|
|
2013-02-19 19:02:25 +00:00
|
|
|
.form-actions
|
2013-03-01 14:26:26 +00:00
|
|
|
= f.submit 'Create group', class: "btn btn-create"
|
2013-02-19 19:02:25 +00:00
|
|
|
|
|
|
|
|