2013-07-13 01:45:48 -04:00
|
|
|
%h3.page-title New Group
|
2012-11-27 01:31:15 -05:00
|
|
|
%hr
|
|
|
|
= form_for [:admin, @group] do |f|
|
|
|
|
- if @group.errors.any?
|
2013-01-30 09:53:18 -05:00
|
|
|
.alert.alert-error
|
2012-11-27 01:31:15 -05:00
|
|
|
%span= @group.errors.full_messages.first
|
2013-08-07 16:20:10 -04:00
|
|
|
.control-group
|
2012-11-27 01:31:15 -05:00
|
|
|
= f.label :name do
|
|
|
|
Group name is
|
2013-08-07 16:20:10 -04:00
|
|
|
.controls
|
2013-08-07 16:40:29 -04:00
|
|
|
= f.text_field :name, placeholder: "Ex. OpenSource", class: "input-xxlarge left"
|
2013-08-07 16:20:10 -04:00
|
|
|
.control-group.group-description-holder
|
2013-02-07 05:42:52 -05:00
|
|
|
= f.label :description, "Details"
|
2013-08-07 16:20:10 -04:00
|
|
|
.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-07 05:42:52 -05:00
|
|
|
|
|
|
|
.form-actions
|
2013-04-18 10:28:09 -04:00
|
|
|
= f.submit 'Create group', class: "btn btn-create"
|
2013-02-07 05:42:52 -05:00
|
|
|
|
2012-11-27 01:31:15 -05:00
|
|
|
%hr
|
|
|
|
.padded
|
|
|
|
%ul
|
|
|
|
%li Group is kind of directory for several projects
|
|
|
|
%li All created groups are private
|
|
|
|
%li People within a group see only projects they have access to
|
2013-04-10 03:19:08 -04:00
|
|
|
%li All projects of group will be stored in a group directory
|
2012-11-27 01:31:15 -05:00
|
|
|
%li You will be able to move existing projects into group
|