= 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"


