Commit 01ca0125 authored by Ammar Alakkad's avatar Ammar Alakkad

Migrate to shared alert in admin/groups/_form.html

parent 81811623
...@@ -27,12 +27,9 @@ ...@@ -27,12 +27,9 @@
- if @group.new_record? - if @group.new_record?
.form-group.row .form-group.row
.offset-sm-2.col-sm-10 .offset-sm-2.col-sm-10
.gl-alert.gl-alert- = render 'shared/global_alert', dismissible: false do
.gl-alert-container .gl-alert-body
= sprite_icon('information-o', size: 16, css_class: 'gl-icon gl-alert-icon gl-alert-icon-no-title') = render 'shared/group_tips'
.gl-alert-content
.gl-alert-body
= render 'shared/group_tips'
.form-actions .form-actions
= f.submit _('Create group'), class: "gl-button btn btn-confirm" = f.submit _('Create group'), class: "gl-button btn btn-confirm"
= link_to _('Cancel'), admin_groups_path, class: "gl-button btn btn-default btn-cancel" = link_to _('Cancel'), admin_groups_path, class: "gl-button btn btn-default btn-cancel"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment