summaryrefslogtreecommitdiff
path: root/app/views/groups/new.html.haml
blob: 4aa58dedc4a79a5b2215b10df3039ad7047c1e33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
= form_for @group do |f|
  - if @group.errors.any?
    .alert.alert-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"

  .clearfix.group-description-holder
    = f.label :description, "Details"
    .input
      = f.text_area :description, maxlength: 250, class: "xxlarge js-gfm-input", rows: 4

  .clearfix
    .input
      %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

  .form-actions
    = f.submit 'Create group', class: "btn btn-create"