{% extends "star_ratings/widget_base.html" %} {% load i18n %} {% block rating_detail %} {% if not user.is_authenticated and not anonymous_ratings and not read_only %}
{{ rating.average|floatformat:"-2" }} ({{ rating.count }} Vote{{ rating.count|pluralize }}) {% trans 'Please log in to vote.' %}
{% else %} {% block rating_user %} {% endblock rating_user %}{% endif %} {% endblock rating_detail %}