2013-01-24 10:47:09 -05:00
|
|
|
%h3.page_title New Group
|
|
|
|
%hr
|
|
|
|
= 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
|
|
|
|
.clearfix
|
|
|
|
= f.label :name do
|
|
|
|
Group name is
|
|
|
|
.input
|
|
|
|
= f.text_field :name, placeholder: "Ex. OpenSource", class: "xxlarge left"
|
2013-02-19 14:02:25 -05:00
|
|
|
|
2013-02-28 09:35:27 -05:00
|
|
|
.clearfix.group-description-holder
|
2013-02-19 14:02:25 -05:00
|
|
|
= f.label :description, "Details"
|
|
|
|
.input
|
|
|
|
= f.text_area :description, maxlength: 250, class: "xxlarge js-gfm-input", rows: 4
|
|
|
|
|
|
|
|
.form-actions
|
2013-03-01 09:26:26 -05:00
|
|
|
= f.submit 'Create group', class: "btn btn-create"
|
2013-02-19 14:02:25 -05:00
|
|
|
|
|
|
|
|
2013-01-24 10:47:09 -05:00
|
|
|
.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
|