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

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

{% trans "Create List" as button_text %} {% include 'snippets/toggle/open_button.html' with controls_text="create-list" icon="plus" text=button_text focus="create-list-header" %}
{% 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 %}