{% extends 'front/base_public.html.twig' %} {% block title %}{{ grocery_list.title }}{% endblock %} {% set group = app.request.query.get('group') %} {% set id = app.request.query.get('gid') %} {% block body %}
{{ include('front/partials/page_title.html.twig', { 'icon': "", 'title': grocery_list.title, 'links': [ { 'url': path('admin.list.index'), 'label': "" ~ 'app.admin.lists.title'|trans, 'class': 'btn_page_title_overflow btn-primary btn' } ] }) }}

{{ 'app.admin.ingredients.title'|trans }}

    {% if elements is not empty %} {% for element in elements %} {% if element.hasElement is same as true %}
  • {{ include('front/partials/grocerylist_section_card.html.twig') }}
  • {% endif %} {% endfor %} {% else %}
  • {{ 'app.admin.ingredients.none'|trans }}
  • {% endif %}

{{ 'app.admin.recipes.title'|trans }}

    {% if recipes is not empty %} {% for recipe in recipes %}
  • {{ include('front/partials/grocerylist_recipe_card.html.twig') }}
  • {% endfor %} {% else %}
  • {{ 'app.admin.recipes.none'|trans }}
  • {% endif %}

{{ include('front/grocery_list/_comments_form.html.twig') }}

{{ 'app.front.list.owner.username'|trans}} {{ grocery_list.user.username }}
{% endblock %}