summaryrefslogtreecommitdiff
path: root/app/views/admin/groups/new.html.haml
blob: cfbe6b5ee5a7a0273ce97089f4df40a554e61516 (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
%h3.page-title New Group
%hr
= form_for [:admin, @group] do |f|
  - if @group.errors.any?
    .alert.alert-error
      %span= @group.errors.full_messages.first
  .control-group
    = f.label :name do
      Group name
    .controls
      = f.text_field :name, placeholder: "Ex. OpenSource", class: "input-xxlarge left"
  .control-group.group-description-holder
    = f.label :description, "Details"
    .controls
      = f.text_area :description, maxlength: 250, class: "input-xxlarge 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