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

{% set pageName='Acteurs - '~actor.displayName %}
{% set page=actor.displayName %}
{% set returnPath=[{label: 'Acteurs', url: url('actor_actors', {}, false), title: 'Liste des acteurs'}] %}

{% block pageContent %}
<div class="col-6">
	<div class="card">
		<div class="card-header">
			<h2>Editer</h2>
		</div>
		<div class="card-body">
			{% include '_includes/html/genericForm.html.twig' with {'form': editForm} only %}
		</div>
	</div>
</div>
<div class="col-6">
	<div class="card">
		<div class="card-header">
			<h2>Supprimer l'acteur</h2>
		</div>
		<div class="card-body">
			{% include '_includes/html/genericForm.html.twig' with {'form': deleteForm, 'data': {actor: actor, variant: 'full'}} only %}
		</div>
	</div>
</div>
<div class="col-12">
	<div class="card">
		<div class="card-header">
			<h2>Activités en cours</h2>
		</div>
		<div class="card-body">
			{% include "_includes/html/arrays/activity.html.twig" with {activities: activities, hideActor: true} only %}
		</div>
	</div>
</div>
{% endblock %}