Chris@0: {% extends "@classy/misc/status-messages.html.twig" %} Chris@0: {# Chris@0: /** Chris@0: * @file Chris@0: * Default theme implementation for status messages. Chris@0: * Chris@0: * Displays status, error, and warning messages, grouped by type. Chris@0: * Chris@0: * An invisible heading identifies the messages for assistive technology. Chris@0: * Sighted users see a colored box. See http://www.w3.org/TR/WCAG-TECHS/H69.html Chris@0: * for info. Chris@0: * Chris@0: * Add an ARIA label to the contentinfo area so that assistive technology Chris@0: * user agents will better describe this landmark. Chris@0: * Chris@0: * Available variables: Chris@0: * - message_list: List of messages to be displayed, grouped by type. Chris@0: * - status_headings: List of all status types. Chris@0: */ Chris@0: #} Chris@0: {% block messages %} Chris@0: {% if message_list is not empty %} Chris@0: {{ attach_library('bartik/messages') }} Chris@0:
Chris@0: {{ parent() }} Chris@0:
Chris@0: {% endif %} Chris@0: {% endblock messages %}