feat: upgrade to symfony 7.4
This commit is contained in:
@@ -71,14 +71,12 @@
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block label %}
|
||||
{% apply spaceless %}
|
||||
{% if item.extras.icon is defined %}
|
||||
{{ icon(item.extras.icon, 'h-5 w-5 shrink-0 text-gray-400') }}
|
||||
<span class="flex-1">{{ item.label|raw }}</span>
|
||||
{% else %}
|
||||
{{ item.label|raw }}
|
||||
{% endif %}
|
||||
{% endapply %}
|
||||
{% endblock %}
|
||||
{% block label -%}
|
||||
{% if item.extras.icon is defined -%}
|
||||
{{ icon(item.extras.icon, 'h-5 w-5 shrink-0 text-gray-400') -}}
|
||||
<span class="flex-1">{{ item.label|raw }}</span>
|
||||
{%- else -%}
|
||||
{{ item.label|raw }}
|
||||
{%- endif %}
|
||||
{%- endblock %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user