debian-mirror-gitlab/app/views/groups/new.html.haml

31 lines
990 B
Text
Raw Normal View History

2017-09-10 17:25:29 +05:30
- @breadcrumb_link = dashboard_groups_path
- breadcrumb_title "Groups"
- @hide_top_links = true
2015-09-11 14:41:01 +05:30
- page_title 'New Group'
2015-12-23 02:04:40 +05:30
- header_title "Groups", dashboard_groups_path
%h3.page-title
New Group
%hr
2017-08-17 22:00:37 +05:30
= form_for @group, html: { class: 'group-form form-horizontal gl-show-field-errors' } do |f|
2016-06-02 11:05:42 +05:30
= form_errors(@group)
2015-04-26 12:48:37 +05:30
= render 'shared/group_form', f: f, autofocus: true
2014-09-02 18:07:02 +05:30
.form-group.group-description-holder
= f.label :avatar, "Group avatar", class: 'control-label'
.col-sm-10
2015-04-26 12:48:37 +05:30
= render 'shared/choose_group_avatar_button', f: f
2014-09-02 18:07:02 +05:30
2016-06-02 11:05:42 +05:30
= render 'shared/visibility_level', f: f, visibility_level: default_group_visibility, can_change_visibility_level: true, form_model: @group
2017-08-17 22:00:37 +05:30
= render 'create_chat_team', f: f if Gitlab.config.mattermost.enabled
2014-09-02 18:07:02 +05:30
.form-group
2015-09-11 14:41:01 +05:30
.col-sm-offset-2.col-sm-10
2015-04-26 12:48:37 +05:30
= render 'shared/group_tips'
2014-09-02 18:07:02 +05:30
.form-actions
2017-08-17 22:00:37 +05:30
= f.submit 'Create group', class: "btn btn-create"
2015-12-23 02:04:40 +05:30
= link_to 'Cancel', dashboard_groups_path, class: 'btn btn-cancel'