mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Limit the amount of characters that can be entered for a comment. Signed-off-by: moson <moson@archlinux.org>
43 lines
1.3 KiB
HTML
43 lines
1.3 KiB
HTML
{% extends "partials/layout.html" %}
|
|
|
|
{% block pageContent %}
|
|
<div class="box">
|
|
<h2>{{ "Close Request" | tr }}: {{ pkgreq.PackageBaseName }}</h2>
|
|
|
|
<p>
|
|
{{
|
|
"Use this form to close the request for package base %s%s%s."
|
|
| tr | format("<strong>", pkgreq.PackageBaseName, "</strong>")
|
|
| safe
|
|
}}
|
|
</p>
|
|
|
|
<p>
|
|
<em>{{ "Note" | tr }}:</em>
|
|
{{
|
|
"The comments field can be left empty. However, it is highly "
|
|
"recommended to add a comment when rejecting a request."
|
|
| tr
|
|
}}
|
|
</p>
|
|
|
|
<form action="/requests/{{ pkgreq.ID }}/close" method="post">
|
|
<fieldset>
|
|
<p>
|
|
<label for="id_comments">{{ "Comments" | tr }}:</label>
|
|
<textarea id="id_comments" name="comments"
|
|
rows="5" cols="50" maxlength="{{ max_chars_comment }}"
|
|
></textarea>
|
|
</p>
|
|
|
|
<p>
|
|
<button class="button" type="submit">
|
|
{{ "Close Request" | tr }}
|
|
</button>
|
|
</p>
|
|
|
|
</fieldset>
|
|
</form>
|
|
|
|
</div>
|
|
{% endblock %}
|