{% trans_default_domain 'admin' %}

<div class="header__btn-cache">
    {{ form_start(form, {'attr': {'class': 'js-form'}}) }}
        {{ form_widget(form) }}
        <button type="submit"
                onclick="return confirm('{{ ('widget_cache.action.clear.confirm')|trans|e('js') }}');"
                title="{% trans %}widget_cache.action.clear.help{% endtrans %}">
            <span>{% trans %}widget_cache.action.clear.submit{% endtrans %}</span>
        </button>
    {{ form_end(form) }}
</div>

{% trans_default_domain 'admin' %}

{{ form_start(form, {'attr': {'class': 'js-form'}}) }}
<div class="header__btn-cache">
    {{ form_widget(form) }}
    <button type="submit"
            onclick="return confirm('{{ ('widget_cache.action.clear.confirm')|trans|e('js') }}');"
            title="{% trans %}widget_cache.action.clear.help{% endtrans %}">
        <span>{% trans %}widget_cache.action.clear.submit{% endtrans %}</span>
    </button>
</div>
{{ form_end(form) }}

Refactor widget cache clear form template.
Refactor widget cache clear form template.
