{% from 'includes/forms.html' import required_note %} {% extends 'mkt/base.html' %} {% set title = _('Add a review') %} {% set page_title = _('Add a review for {0}')|f(product.name) %} {% block title %}{{ mkt_page_title(page_title) }}{% endblock %} {% block bodyclass %}reviews{% endblock %} {% block content %} {{ mkt_breadcrumbs(product, [(None, title)]) }}
{{ csrf() }} {{ rating_header(product, title) }}

{% trans %} Please keep reviews clean, avoid the use of improper language, and do not post any personal information. {% endtrans %}

{{ form_field(form.rating, label=_('How would you rate this?'), tag='div', cls='rating') }} {{ form_field(form.body, label=_('Your review'), hint=True, cc_for=form.body.auto_id, cc_maxlength=form.body.field.max_length, tag='div') }} {{ required_note() }}
{% endblock %}