User can create group
This commit is contained in:
parent
d9027df5b5
commit
f6c482c06f
12 changed files with 117 additions and 31 deletions
21
app/views/groups/new.html.haml
Normal file
21
app/views/groups/new.html.haml
Normal file
|
@ -0,0 +1,21 @@
|
|||
%h3.page_title New Group
|
||||
%hr
|
||||
= form_for @group do |f|
|
||||
- if @group.errors.any?
|
||||
.alert-message.block-message.error
|
||||
%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"
|
||||
|
||||
= f.submit 'Create group', class: "btn primary"
|
||||
%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
|
Loading…
Add table
Add a link
Reference in a new issue