Commit 51e3031c authored by nuwe1's avatar nuwe1 Committed by David O'Regan

Update markup in file

parent b7d1e21b
...@@ -4,13 +4,15 @@ ...@@ -4,13 +4,15 @@
%div %div
- if @user.errors.any? - if @user.errors.any?
.gl-alert.gl-alert-danger.gl-my-5 .gl-alert.gl-alert-danger.gl-my-5
%button.js-close.gl-alert-dismiss{ type: 'button', 'aria-label' => _('Dismiss') } .gl-alert-container
= sprite_icon('close', css_class: 'gl-icon') %button.js-close.btn.gl-dismiss-btn.btn-default.btn-sm.gl-button.btn-default-tertiary.btn-icon{ type: 'button', 'aria-label' => _('Dismiss') }
= sprite_icon('error', css_class: 'gl-icon gl-alert-icon gl-alert-icon-no-title') = sprite_icon('close', css_class: 'gl-icon')
.gl-alert-body = sprite_icon('error', css_class: 'gl-icon gl-alert-icon gl-alert-icon-no-title')
%ul .gl-alert-content
- @user.errors.full_messages.each do |msg| .gl-alert-body
%li= msg %ul
- @user.errors.full_messages.each do |msg|
%li= msg
= hidden_field_tag :notification_type, 'global' = hidden_field_tag :notification_type, 'global'
.row.gl-mt-3 .row.gl-mt-3
......
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