Skip to content
Snippets Groups Projects
Commit a89c7b70 authored by Yas Naoi's avatar Yas Naoi Committed by Yas Naoi
Browse files

Issue #3353091 by yas: Fix an error: fix an error: 'Twig\Error\SyntaxError:...

Issue #3353091 by yas: Fix an error: fix an error: 'Twig\Error\SyntaxError: Unknown "spaceless" tag.' in Twig\Parser->subparse()
parent 438bb979
No related branches found
No related tags found
1 merge request!26Issue #3353091: Fix an error: fix an error: 'Twig\Error\SyntaxError: Unknown "spaceless" tag.' in Twig\Parser->subparse()
......@@ -15,7 +15,7 @@
* @see \Drupal\bootstrap\Plugin\Preprocess\FileLink::preprocessVariables
*/
#}
{% spaceless %}
{% apply spaceless %}
{%
set classes = [
icon_only ? 'icon-only',
......@@ -37,4 +37,4 @@
{% endif %}
{% endif %}
</span>
{% endspaceless %}
{% endapply %}
......@@ -22,7 +22,7 @@
* @see template_preprocess_input()
*/
#}
{% spaceless %}
{% apply spaceless %}
{%
set classes = [
'btn',
......@@ -55,4 +55,4 @@
</button>
{{ children }}
{% endblock %}
{% endspaceless %}
{% endapply %}
......@@ -22,7 +22,7 @@
* @see template_preprocess_input()
*/
#}
{% spaceless %}
{% apply spaceless %}
{%
set classes = [
'btn',
......@@ -45,4 +45,4 @@
{% endif %}
{{ children }}
{% endblock %}
{% endspaceless %}
{% endapply %}
......@@ -20,7 +20,7 @@
* @see template_preprocess_input()
*/
#}
{% spaceless %}
{% apply spaceless %}
{%
set classes = [
'form-control',
......@@ -29,4 +29,4 @@
{% block input %}
<input{{ attributes.addClass(classes) }} />
{% endblock %}
{% endspaceless %}
{% endapply %}
......@@ -19,7 +19,7 @@
* @see template_preprocess_input()
*/
#}
{% spaceless %}
{% apply spaceless %}
{% if input_group %}
<div class="input-group">
{% endif %}
......@@ -41,4 +41,4 @@
{% endif %}
{{ children }}
{% endspaceless %}
{% endapply %}
......@@ -15,7 +15,7 @@
* @see template_preprocess_select()
*/
#}
{% spaceless %}
{% apply spaceless %}
{% if input_group %}
<div class="input-group">
{% endif %}
......@@ -58,4 +58,4 @@
{% if input_group %}
</div>
{% endif %}
{% endspaceless %}
{% endapply %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment