Commit ed615b81 authored by Gilang Gumilar's avatar Gilang Gumilar Committed by Kushal Pandya

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

parent e1d7aca7
......@@ -3,10 +3,14 @@
%div
- if @user.errors.any?
.gl-alert.gl-alert-danger
%ul
- @user.errors.full_messages.each do |msg|
%li= msg
.gl-alert.gl-alert-danger.gl-my-5
%button.js-close.gl-alert-dismiss{ type: 'button', 'aria-label' => _('Dismiss') }
= sprite_icon('close', css_class: 'gl-icon')
= 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'
.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