2012-10-02 18:01:40 +02:00
|
|
|
%h3.page_title New Group
|
2012-11-27 07:31:15 +01:00
|
|
|
%hr
|
|
|
|
= form_for [:admin, @group] do |f|
|
|
|
|
- if @group.errors.any?
|
2013-01-30 15:53:18 +01:00
|
|
|
.alert.alert-error
|
2012-11-27 07:31:15 +01:00
|
|
|
%span= @group.errors.full_messages.first
|
|
|
|
.clearfix
|
|
|
|
= f.label :name do
|
|
|
|
Group name is
|
|
|
|
.input
|
|
|
|
= f.text_field :name, placeholder: "Ex. OpenSource", class: "xxlarge left"
|
2013-02-07 11:42:52 +01:00
|
|
|
.clearfix.group_description_holder
|
|
|
|
= f.label :description, "Details"
|
|
|
|
.input
|
|
|
|
= f.text_area :description, maxlength: 250, class: "xxlarge js-gfm-input", rows: 4
|
|
|
|
|
|
|
|
.form-actions
|
|
|
|
= f.submit 'Create group', class: "btn btn-primary"
|
|
|
|
|
2012-11-27 07:31:15 +01: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
|
|
|
|
%li All projects of group will be stored in group directory
|
|
|
|
%li You will be able to move existing projects into group
|