Newer
Older
activity-manager / templates / actor / actor.html.twig
{% 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': actorEditForm} only %}
		</div>
	</div>
</div>
<div class="col-6">
	<div class="card">
		<div class="card-header">
			<h2>Supprimer</h2>
		</div>
		<div class="card-body">
			{% include '_includes/html/genericForm.html.twig' with {'form': actorDeleteForm, '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>
<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, hideActor: true} only %}
		</div>
	</div>
</div>
{% endblock %}