diff --git a/src/Bundle/ChillPersonBundle/Resources/views/HouseholdComposition/index.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/HouseholdComposition/index.html.twig index cce83e64c..7d3adc04a 100644 --- a/src/Bundle/ChillPersonBundle/Resources/views/HouseholdComposition/index.html.twig +++ b/src/Bundle/ChillPersonBundle/Resources/views/HouseholdComposition/index.html.twig @@ -54,33 +54,18 @@ {% endif %} - {# {% else %} - {{ form_start(form) }} - - {{ form_widget(form) }} - - - {{ form_end(form) }} - {% endif %} #} {% endfor %} {% endif %} - {# {% if editId == -1 %} #} + {% if is_granted('CHILL_PERSON_HOUSEHOLD_EDIT', household) %} - {# {% endif %} #} + {% endif %} {% endblock %}