{% extends '_includes/html/base.html.twig' %}

{% set pageName='Tâches' %}
{% set page='Tâches' %}

{% block pageContent %}
<div class="col-12">
	<div class="card">
		<div class="card-header">
			<h2>Tâches</h2>
		</div>
		<div class="card-body">
			{% include '_includes/html/genericForm.html.twig' with {form: taskFilterForm} only %}
			{% include "_includes/html/arrays/task.html.twig" with {tasks: tasks, 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 %}