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