From 291d340aa084e8ee874a9b42b1a6835c5662cf97 Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Wed, 6 Apr 2022 16:53:26 +0200 Subject: [PATCH] change view btn to edit btn --- .../views/AccompanyingPeriod/reassign_list.html.twig | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingPeriod/reassign_list.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingPeriod/reassign_list.html.twig index ac03cafee..d86b30bc0 100644 --- a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingPeriod/reassign_list.html.twig +++ b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingPeriod/reassign_list.html.twig @@ -28,9 +28,9 @@ {% macro period_actions(period) %} - {% if is_granted('CHILL_PERSON_ACCOMPANYING_PERIOD_SEE', period) %} + {% if is_granted('CHILL_PERSON_ACCOMPANYING_PERIOD_UPDATE', period) %}
  • - +
  • {% endif %} {% endmacro %} @@ -77,11 +77,11 @@
    - {# {{ dump(assignForm.periods.vars.choices) }} #} + {{ dump(assignForm.periods.vars.choices) }} {% for choice in assignForm.periods.vars.choices %}
    + name="form[periods][{{ choice.value }}]" value="{{ choice.data.id }}">
    {% endblock %} -