{% extends 'layout.html' %} {% load utilities %} {% load i18n %} {% block title %}{% trans "Lists" %}{% endblock %} {% block content %}

{% trans "Lists" %} {% if request.user.is_authenticated %} {% trans "Your Lists" %} {% endif %}

{% if request.user.is_authenticated %}
{% trans "Create List" as button_text %} {% include 'snippets/toggle/open_button.html' with controls_text="create_list" icon_with_text="plus" text=button_text focus="create_list_header" %}
{% endif %}
{% include 'lists/create_form.html' with controls_text="create_list" %}
{% if lists %}
{% include 'lists/list_items.html' with lists=lists %}
{% include 'snippets/pagination.html' with page=lists path=path %}
{% endif %} {% endblock %}