mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
22 lines
555 B
Twig
22 lines
555 B
Twig
{% if title is defined %}
|
|
<h2>{{ title }}</h2>
|
|
{% endif %}
|
|
|
|
{% if confirm_question is defined %}
|
|
<p class="message-confirm">{{ confirm_question }}</p>
|
|
{% endif %}
|
|
|
|
{{ form_start(form) }}
|
|
|
|
<ul class="record_actions">
|
|
<li class="cancel">
|
|
<a href="{{ path(cancel_route, cancel_parameters|default( { } ) ) }}" class="sc-button bt-cancel">
|
|
{{ 'Cancel'|trans }}
|
|
</a>
|
|
</li>
|
|
<li>
|
|
{{ form_widget(form.submit, { 'attr' : { 'class' : "sc-button bt-delete" } } ) }}
|
|
</li>
|
|
</ul>
|
|
|
|
{{ form_end(form) }} |