{% load i18n %} {% if display_form %}
{% if user.is_authenticated %}

{% trans "Username:" %} {{ user.username }} ({% trans "Log out" %})

{% else %}


{% trans "Password:" %} ({% trans "Forgotten your password?" %})

{% endif %} {% if ratings_optional or ratings_required %}

{% trans "Ratings" %} ({% if ratings_required %}{% trans "Required" %}{% else %}{% trans "Optional" %}{% endif %}):

{% for value in rating_range %}{% endfor %} {% for rating in rating_choices %} {% for value in rating_range %}{% endfor %} {% endfor %}
 {{ value }}
{{ rating }}
{% endif %} {% if photos_optional or photos_required %}

({% if photos_required %}{% trans "Required" %}{% else %}{% trans "Optional" %}{% endif %}):

{% endif %}


{% endif %}