Commit fa7a89af authored by catch's avatar catch

Issue #2618048 by seppelM: Single quoted HTML attributes in Bartik and Classy template files

parent f6ffab1d
......@@ -39,7 +39,7 @@
{% if not label_hidden %}
<h3{{ title_attributes.addClass(title_classes) }}>{{ label }}</h3>
{% endif %}
<ul class='links field__items'>
<ul class="links field__items">
{% for item in items %}
<li{{ item.attributes }}>{{ item.content }}</li>
{% endfor %}
......
......@@ -50,7 +50,7 @@
{{ comments }}
{% if comment_form %}
<h2 class='title comment-form__title'>{{ 'Add new comment'|t }}</h2>
<h2 class="title comment-form__title">{{ 'Add new comment'|t }}</h2>
{{ comment_form }}
{% endif %}
......
......@@ -68,7 +68,7 @@
<div{{ attributes.addClass(classes) }}>
<div{{ title_attributes.addClass(title_classes) }}>{{ label }}</div>
{% if multiple %}
<div class='field__items'>
<div class="field__items">
{% endif %}
{% for item in items %}
<div{{ item.attributes.addClass('field__item') }}>{{ item.content }}</div>
......
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