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

{% set pageName='Activités' %}
{% set page='Activités' %}

{% block pageContent %}
<div class="col-12">
	<div class="card">
		<div class="card-header">
			<h2>Activités</h2>
		</div>
		<div class="card-body">
			{% include '_includes/html/genericForm.html.twig' with {form: activityFilterForm} only %}
			{% include "_includes/html/arrays/activity.html.twig" with {activities: activities, activityDeleteForm: activityDeleteForm} only %}
		</div>
	</div>
</div>
<div class="col-12">
	<div class="card">
		<div class="card-header">
			<h2>Nouvelle activité</h2>
		</div>
		<div class="card-body">
			{% include '_includes/html/genericForm.html.twig' with {form: activityAddForm} only %}
		</div>
	</div>
</div>
{% endblock %}