2012-10-02 19:01:40 +03:00
|
|
|
%h3.page_title New Group
|
2012-11-27 09:31:15 +03:00
|
|
|
%hr
|
|
|
|
= form_for [:admin, @group] do |f|
|
|
|
|
- if @group.errors.any?
|
2013-01-30 16:53:18 +02:00
|
|
|
.alert.alert-error
|
2012-11-27 09:31:15 +03: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-28 18:35:27 +04:00
|
|
|
.clearfix.group-description-holder
|
2013-02-07 14:42:52 +04: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"
|
|
|
|
|
2012-11-27 09:31:15 +03: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
|