{% extends "base.html" %} {% load i18n %} {% load static %} {% load wger_extras %} {% load cache %} {% block header %} {% endblock %} {% block title %}{% trans "Ingredient overview" %}{% endblock %} {% block content %} {% if ingredients_list %}
{% for ingredient in ingredients_list %} {% if request.user_agent.is_mobile %} {% endif %} {{ ingredient.name }} {% endfor %}
{% else %}

{% trans "No ingredients." %} {% trans "Add one now." %}

{% endif %}
{% pagination paginator page_obj %} {% endblock %} {% block sidebar %}

{% trans "Search" %}

{% csrf_token %}
{% endblock %} {# #} {# Options #} {# #} {% block options %} {% if user.is_authenticated and not user.userprofile.is_temporary %} {% trans "Add ingredient" %} {% else %} {% trans "Add ingredient" %}
{% trans "Only registered users can do this" %}
{% endif %} {% endblock %}