diff --git a/templates/macros/actions.html.twig b/templates/macros/actions.html.twig index 164bc709..033fbf70 100644 --- a/templates/macros/actions.html.twig +++ b/templates/macros/actions.html.twig @@ -468,9 +468,6 @@ {% if team.id is not empty %} {% if is_granted('edit', team) %} {% set class = '' %} - {% if view != 'edit' %} - {% set class = 'modal-ajax-form' %} - {% endif %} {% set actions = actions|merge({'edit': {'url': path('admin_team_edit', {'id': team.id}), 'class': class}}) %} {% endif %} {% endif %}