Mercurial > hg > cmmr2012-drupal-site
comparison core/themes/classy/templates/misc/status-messages.html.twig @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | c75dbcec494b |
children |
comparison
equal
deleted
inserted
replaced
4:a9cd425dd02b | 5:12f9dff5fda9 |
---|---|
17 * - status_headings: List of all status types. | 17 * - status_headings: List of all status types. |
18 * - attributes: HTML attributes for the element, including: | 18 * - attributes: HTML attributes for the element, including: |
19 * - class: HTML classes. | 19 * - class: HTML classes. |
20 */ | 20 */ |
21 #} | 21 #} |
22 <div data-drupal-messages> | |
22 {% block messages %} | 23 {% block messages %} |
23 {% for type, messages in message_list %} | 24 {% for type, messages in message_list %} |
24 {% | 25 {% |
25 set classes = [ | 26 set classes = [ |
26 'messages', | 27 'messages', |
49 </div> | 50 </div> |
50 {# Remove type specific classes. #} | 51 {# Remove type specific classes. #} |
51 {% set attributes = attributes.removeClass(classes) %} | 52 {% set attributes = attributes.removeClass(classes) %} |
52 {% endfor %} | 53 {% endfor %} |
53 {% endblock messages %} | 54 {% endblock messages %} |
55 </div> |