mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-17 15:54:23 +00:00
35 lines
1.1 KiB
Twig
35 lines
1.1 KiB
Twig
{% extends '@ChillMain/layout.html.twig' %}
|
|
|
|
{% block title 'workflow.Delete workflow ?'|trans %}
|
|
|
|
{% block display_content %}
|
|
<h2>
|
|
{{ 'workflow_'|trans }}
|
|
</h2>
|
|
|
|
{% include handler.templateTitle(entityWorkflow) with handler.templateTitleData(entityWorkflow)|merge({
|
|
'description': true,
|
|
'add_classes': 'ms-3 h3'
|
|
}) %}
|
|
|
|
{% include handler.template(entityWorkflow) with handler.templateData(entityWorkflow)|merge({
|
|
'display_action': false
|
|
}) %}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<div class="container chill-md-10">
|
|
{{ include('@ChillMain/Util/confirmation_template.html.twig',
|
|
{
|
|
'title' : 'workflow.Delete workflow ?'|trans,
|
|
'confirm_question' : 'workflow.Are you sure you want to delete this workflow ?'|trans,
|
|
'display_content' : block('display_content'),
|
|
'cancel_route' : 'chill_main_workflow_show',
|
|
'cancel_parameters' : {'id' : entityWorkflow.id},
|
|
'form' : delete_form
|
|
} ) }}
|
|
</div>
|
|
|
|
{% endblock %}
|