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