Add package title and link to review page

This commit is contained in:
rubenwardy 2020-07-09 05:01:18 +01:00
parent 893507691b
commit 25b481ac0a
1 changed files with 5 additions and 2 deletions

View File

@ -4,9 +4,12 @@
{{ _("Review") }}
{% endblock %}
{% block content %}
{% block link %}
<a href="{{ package.getDetailsURL() }}">{{ package.title }}</a>
{% endblock %}
<h1>{{ _("Review") }}</h1>
{% block content %}
<h1>{{ _("Post a review for %(name)s by %(author)s", name=self.link(), author=package.author.display_name) }}</h1>
{% from "macros/forms.html" import render_field, render_submit_field, render_radio_field %}
<form method="POST" action="" enctype="multipart/form-data">