{% extends "base.html" %} {% block title %} {{ _("Review") }} {% endblock %} {% block link %} {{ package.title }} {% endblock %} {% block content %}

{{ _("Post a review for %(name)s by %(author)s", name=self.link(), author=package.author.display_name) }}

{% from "macros/forms.html" import render_field, render_submit_field, render_radio_field %}
{{ form.hidden_tag() }}
{{ current_user.display_name }}

{{ _("Do you recommend this %(type)s?", type=package.type.value | lower) }}

{{ render_radio_field(form.recommends) }}

{{ _("Why or why not? Try to be constructive") }}

{{ render_field(form.title) }} {{ render_field(form.comment, label="", class_="m-0", fieldclass="form-control markdown") }}
{{ render_submit_field(form.submit) }}
{% endblock %}