{% extends '_includes/html/base.html.twig' %} {% set pageName='Activités - '~activity.name %} {% set page=activity.name %} {% set returnPath=[{label: 'Activités', url: url('activity_activities', {}, false), title: 'Liste des activités'}] %} {% block pageContent %} <div class="col-9"> <div class="card"> <div class="card-header"> <h2>Editer</h2> </div> <div class="card-body"> {% include '_includes/html/genericForm.html.twig' with {form: activityEditForm} only %} </div> </div> </div> <div class="col-3"> <div class="card"> <div class="card-header"> <h2>Supprimer</h2> </div> <div class="card-body"> {% include '_includes/html/genericForm.html.twig' with {'form': activityDeleteForm, 'data': {activity: activity, variant: 'full'}} only %} </div> </div> </div> <div class="col-12"> <div class="card"> <div class="card-header"> <h2>Tâches</h2> </div> <div class="card-body"> {% include "_includes/html/arrays/task.html.twig" with {tasks: tasks, hideActivity: true, taskDeleteForm: taskDeleteForm} only %} </div> </div> </div> <div class="col-12"> <div class="card"> <div class="card-header"> <h2>Ajouter une tâche</h2> </div> <div class="card-body"> {% include '_includes/html/genericForm.html.twig' with {form: taskAddForm} only %} </div> </div> </div> {% endblock %}