Commit 2e53e0db authored by ljcarnieri's avatar ljcarnieri Committed by markcarver

Issue #3017053 by ljcarnieri: Message button prevent submit form

parent 7adbbd14
......@@ -54,7 +54,7 @@
%}
{# Reset the attribute classes and then add the message specific classes. #}
<div{{ attributes.setAttribute('class', classes).addClass(message_classes).setAttribute('role', 'alert') }}>
<button role="button" class="close" data-dismiss="alert" aria-label="{{ 'Close'|t }}"><span aria-hidden="true">&times;</span></button>
<button type="button" role="button" class="close" data-dismiss="alert" aria-label="{{ 'Close'|t }}"><span aria-hidden="true">&times;</span></button>
{% if status_headings[type] %}
<h4 class="sr-only">{{ status_headings[type] }}</h4>
{% endif %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment