Commit 174fbd43 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch...

Merge branch '233675-replace-bootstrap-alerts-in-app/views/profiles/notifications/show.html.haml' into 'master'

Replace bootstrap alerts in app/.../show.html.haml

See merge request gitlab-org/gitlab!41310
parents eb50a87b ed615b81
...@@ -3,10 +3,14 @@ ...@@ -3,10 +3,14 @@
%div %div
- if @user.errors.any? - if @user.errors.any?
.gl-alert.gl-alert-danger .gl-alert.gl-alert-danger.gl-my-5
%ul %button.js-close.gl-alert-dismiss{ type: 'button', 'aria-label' => _('Dismiss') }
- @user.errors.full_messages.each do |msg| = sprite_icon('close', css_class: 'gl-icon')
%li= msg = sprite_icon('error', css_class: 'gl-icon gl-alert-icon gl-alert-icon-no-title')
.gl-alert-body
%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
......
---
title: Replace bootstrap alerts in app/views/profiles/notifications/show.html.haml
merge_request: 41310
author: Gilang Gumilar
type: changed
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