{% set user = user if user.is_authenticated() else None %} {% if not addon.has_author(user) %}

{{ _('What do you think?') }}

{% if not user.is_authenticated() %}

{% trans login=login_link() %} Please log in to submit a review {% endtrans %}

{% endif %}
{% set attrs = {} if user.is_authenticated() else {'disabled': 'disabled'} %} {{ csrf() }} {{ field(review_form.title, _('Title:'), **attrs) }} {{ field(review_form.body, _('Review:'), **attrs) }} {{ field(review_form.rating, _('Rating:'), **attrs) }}

{% trans %} Please do not post bug reports in reviews. We do not make your email address available to add-on developers and they may need to contact you to help resolve your issue. {% endtrans %}

{% if addon.support_url or addon.support_email %}

{% trans support='#support' %} See the support section to find out where to get assistance for this add-on. {% endtrans %}

{% endif %}

{{ _('Review Guidelines') }}

{# /#review-box #} {% endif %}{# /is_author #}