{% if component.as_pdf %}{% else %} {% for group in component.actions %} {% with actions=component.actions|get_item(group) %} {% if actions %} {% if component.mobile or actions|length > 1 %}