{% extends "base.html" %} {% load i18n %} {% load staticfiles %} {% 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 flavour == 'mobile' %} {% endif %} {{ ingredient.name }} {% endfor %}
{% else %}

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

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

{% 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 %}

{% trans "Search" %}

{% csrf_token %}
{% endblock %}