d7a48443ce
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
27 lines
892 B
Text
27 lines
892 B
Text
%h3.page-title New Group
|
|
%hr
|
|
= form_for [:admin, @group] do |f|
|
|
- if @group.errors.any?
|
|
.alert.alert-danger
|
|
%span= @group.errors.full_messages.first
|
|
.form-group
|
|
= f.label :name do
|
|
Group name
|
|
.col-sm-10
|
|
= f.text_field :name, placeholder: "Ex. OpenSource", class: "input-lg left"
|
|
.form-group.group-description-holder
|
|
= f.label :description, "Details"
|
|
.col-sm-10
|
|
= f.text_area :description, maxlength: 250, class: "input-lg js-gfm-input", rows: 4
|
|
|
|
.form-actions
|
|
= f.submit 'Create group', class: "btn btn-create"
|
|
|
|
%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 a group directory
|
|
%li You will be able to move existing projects into group
|