2013-01-24 16:47:09 +01:00
|
|
|
%h3.page_title New Group
|
|
|
|
%hr
|
|
|
|
= form_for @group do |f|
|
|
|
|
- if @group.errors.any?
|
2013-01-30 15:53:18 +01:00
|
|
|
.alert.alert-error
|
2013-01-24 16:47:09 +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-19 20:02:25 +01:00
|
|
|
|
2013-02-28 15:35:27 +01:00
|
|
|
.clearfix.group-description-holder
|
2013-02-19 20:02:25 +01:00
|
|
|
= 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"
|
|
|
|
|
|
|
|
|
2013-01-24 16:47:09 +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
|