Commit ac52367c authored by Simone Wood's avatar Simone Wood
Browse files

Issue #3300289 by sim_1, Shyam_Bhatt: Add block wrapper in status-messages template

parent d349a56f
Loading
Loading
Loading
Loading
+6 −1
Changes for templates/status-messages.html.twig: 6 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -26,11 +26,14 @@
{% endif %}

  <div data-drupal-messages>
  {% block messages %}
  {% for type, messages in message_list %}
    {%
      set classes = [
        'zurb-foundation-callout',
        'callout',
        'messages',
        'messages--' ~ type,
        zurb_status_class_mapping[type] ? zurb_status_class_mapping[type]
      ]
    %}
@@ -65,8 +68,10 @@
      {% endif %}
    </div>

    {# Remove type specific classes. #}
    {% set attributes = attributes.removeClass(classes) %}
  {% endfor %}

  {% endblock messages %}
  </div>

{% if zurb_foundation_status_in_reveal %}