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

{% set page="Edition de l'acteur "~actor.displayName %}
{% set returnLink=url("actor_actors", {}, false) %}

{% block pageContent %}
<div class="col-6">
	<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 class="col-6">
	<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>
{% endblock %}