blob: 13c458f05e9f7cfc8075b0b60019401785e3c87f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
.gl-alert{ @alert_options, role: 'alert', class: base_class }
- if @show_icon
= sprite_icon(icon, css_class: icon_classes)
- if @dismissible
%button.btn.gl-dismiss-btn.btn-default.btn-sm.gl-button.btn-default-tertiary.btn-icon.js-close{ @close_button_options,
type: 'button',
aria: { label: _('Dismiss') } }
= sprite_icon('close')
.gl-alert-content{ role: 'alert' }
- if @title
%h4.gl-alert-title
= @title
- if body?
.gl-alert-body
= body
- if actions?
.gl-alert-actions
= actions
|