{% extends 'base.html' %} {% set selected_tab='favorite_books' %} {% block title %}Favorite Books{% endblock %} {% block content %}
{% if not current_user.is_authenticated %}
{% endif %} {% if current_user.is_authenticated and current_user.stars|length==0 %}
{% endif %}
{% for book in books %} {% if loop.index==1 %}

Fav books

{% endif %}
{{book.label}}
{% if book.versions %}

Last updated on {{book.versions[-1].updated_at.strftime('%B %d, %Y')}}

{% endif %}
{{ book.stars|length }}

{{ book.approved_interpretations|length }}

{{ book.approved_comments|length }}

{% endfor %} {% if current_user.is_authenticated and page.pages > 1 %}
{% endif %}
{% endblock %} {% block scripts %} {% endblock %}