<!-- Alert -->
<div class="alert" id="alert_1" data-js-alert data-time="2019-10-18 14:52:4" role="alert" aria-labelledby="alert_1_title" aria-describedby="alert_1_description" tabindex="-1" aria-atomic="true">
<div class="fs-row">
<div class="fs-cell">
<div class="alert_inner">
<div class="alert_header">
<h2 class="alert_title" id="alert_1_title" tabindex="-1">
Lorem ipsum dolor sit amet
</h2>
</div>
<div class="alert_body">
<div class="alert_description typography" id="alert_1_description">
<p>Aenean massa. Cum <strong>sociis natoque</strong> penatibus et magnis dis <a href="#">parturient montes</a>, nascetur ridiculus mus. <em>Donec quam felis</em>, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim.</p>
</div>
</div>
<div class="alert_close_button">
<button class="
button_bordered
" id="alert_1_button" data-js-alert-close="" aria-labelledby="alert_1_button alert_1_title">
<span class="button_bordered_inner">
<span class="button_bordered_label">Close</span>
<span class="button_bordered_icon" aria-hidden="true">
<svg class="icon icon_close">
<use href="/images/icons.svg#close" />
</svg>
</span>
</span>
</button>
</div>
</div>
</div>
</div>
</div>
<!-- END: Alert -->
{#
{% include '@component-alert' with {
published: '2019-10-18 14:52:4',
title: 'Title',
description: '<p>Description.</p>'
} %}
#}
{% set id = uniqid('alert') %}
<!-- Alert -->
<div
class="alert"
id="{{ id }}"
data-js-alert
data-time="{{ published }}"
role="alert"
aria-labelledby="{{ id }}_title"
aria-describedby="{{ id }}_description"
tabindex="-1"
aria-atomic="true"
>
<div class="fs-row">
<div class="fs-cell">
<div class="alert_inner">
<div class="alert_header">
<h2 class="alert_title" id="{{ id }}_title" tabindex="-1">
{{ title }}
</h2>
</div>
<div class="alert_body">
<div class="alert_description typography" id="{{ id }}_description">
{{ description }}
</div>
</div>
<div class="alert_close_button">
{% include '@partial-button' with {
classes: {
base: 'button_bordered'
},
id: id ~ '_button',
attributes: {
'data-js-alert-close': '',
'aria-labelledby': id ~ '_button ' ~ id ~ '_title'
},
title: 'Close',
icon: 'close'
} %}
</div>
</div>
</div>
</div>
</div>
<!-- END: Alert -->
No notes defined.