{% extends "base.html" %} {% load django_tables2 %} {% load crispy_forms_tags %} {% load static %} {% load i18n %} {% block title %}{% trans "Cookbook" %}{% endblock %} {% block extra_head %} {{ filter.form.media }} {% endblock %} {% block content %}
{% if filter %}
{% trans "Search" %}
{{ filter.form|crispy }} {% trans 'Reset' %} {% trans 'New' %}
{% endif %}

{% if user.is_authenticated and recipes %} {% render_table recipes %} {% else %} {% endif %} {% include 'include/recipe_open_modal.html' %} {% endblock %}