Skip to content

Action group twig exception on index page #7109

@fracsi

Description

@fracsi

Describe the bug
Action group on index page with inline display throws twig exception:
Variable "group" does not exist in @EasyAdmin/crud/action_group.html.twig at line 3.

To Reproduce

  1. Add an action group the the index page.
  2. Display the actions inline.

(OPTIONAL) Additional context
Index page with inline actions loads the action_group.html.twig template directly without converting the twig variable action to group.

{% for action in entity.actions %}
{{ include(action.templatePath, { action: action, entity: entity, isIncludedInDropdown: ea.crud.showEntityActionsAsDropdown }, with_context = false) }}
{% endfor %}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions