2013-01-24 15:47:09 +00:00
|
|
|
= form_for @group do |f|
|
|
|
|
- if @group.errors.any?
|
2013-01-30 14:53:18 +00:00
|
|
|
.alert.alert-error
|
2013-01-24 15:47:09 +00:00
|
|
|
%span= @group.errors.full_messages.first
|
2013-08-07 20:24:34 +00:00
|
|
|
.control-group
|
2013-01-24 15:47:09 +00:00
|
|
|
= f.label :name do
|
|
|
|
Group name is
|
2013-08-07 20:24:34 +00:00
|
|
|
.controls
|
2013-01-24 15:47:09 +00:00
|
|
|
= f.text_field :name, placeholder: "Ex. OpenSource", class: "xxlarge left"
|
2013-02-19 19:02:25 +00:00
|
|
|
|
2013-08-07 20:24:34 +00:00
|
|
|
.control-group.group-description-holder
|
2013-02-19 19:02:25 +00:00
|
|
|
= f.label :description, "Details"
|
2013-08-07 20:24:34 +00:00
|
|
|
.controls
|
2013-02-19 19:02:25 +00:00
|
|
|
= f.text_area :description, maxlength: 250, class: "xxlarge js-gfm-input", rows: 4
|
|
|
|
|
2013-08-07 20:24:34 +00:00
|
|
|
.control-group
|
|
|
|
.controls
|
2013-06-07 14:41:01 +00:00
|
|
|
%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
|
|
|
|
|
2013-02-19 19:02:25 +00:00
|
|
|
.form-actions
|
2013-03-01 14:26:26 +00:00
|
|
|
= f.submit 'Create group', class: "btn btn-create"
|
2013-02-19 19:02:25 +00:00
|
|
|
|
|
|
|
|