diff --git a/templates/_includes/html/arrays/actor.html.twig b/templates/_includes/html/arrays/actor.html.twig
new file mode 100644
index 0000000..fba6d89
--- /dev/null
+++ b/templates/_includes/html/arrays/actor.html.twig
@@ -0,0 +1,28 @@
+
-
-
-
- Nom |
- Prénom |
- Surnom |
- Actif |
- Actions |
-
-
-
- {% for actor in actors %}
-
- {{ actor.firstName }} |
- {{ actor.lastName }} |
- {{ actor.nickname }} |
- {% if actor.active %}Actif
- {% endif %} |
- Editer |
- {% include '_includes/html/genericForm.html.twig' with {'form': actorDeleteForm, 'data': {actor: actor, variant: 'icon'}} only %}
- |
-
- {% endfor %}
-
-
+ {% include "_includes/html/arrays/actor.html.twig" with {actors: actors, actorDeleteForm: actorDeleteForm} only %}
@@ -47,7 +19,7 @@
- {% include '_includes/html/genericForm.html.twig' with {'form': actorAddForm} only %}
+ {% include '_includes/html/genericForm.html.twig' with {form: actorAddForm} only %}