evorepo/templates/packages/flag.html
Dan McGee b3059dd3e8 Remove action when submitting to same URL
It looks like the `action="."` business was screwing up some browsers,
notably lynx and links. We don't need it as the default is to submit to the
same page anyway, so kill this gunk and see if it fixes a login CSRF issue.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-06-11 17:29:46 -05:00

43 lines
1.7 KiB
HTML

{% extends "base.html" %}
{% block title %}Arch Linux - Flag Package - {{ pkg.pkgname }}{% endblock %}
{% block navbarclass %}anb-packages{% endblock %}
{% block content %}
<div id="pkg-flag" class="box">
{% if confirmed %}
<h2>Package Flagged</h2>
<p>Thank you, the maintainers have been notified about <strong>{{ pkg.pkgname }}</strong>.</p>
<p>You can return to the package details page for
<a href="{{ pkg.get_absolute_url }}" title="Package details for {{pkg.pkgname}}">{{pkg.pkgname}}</a>.</p>
{% else %}
<h2>Flag Package: {{ pkg.pkgname }}</h2>
<p>If you notice a package is out of date (i.e., there is a newer
<strong>stable</strong> release available), then please notify us using
the form below.</p>
<p>The message box portion of the flag utility is optional, and meant
for short messages only. If you need more than 200 characters for your
message, then file a bug report, email the maintainer directly, or send
an email to the <a href="http://mailman.archlinux.org/mailman/listinfo/arch-general"
title="Visit the arch-general mailing list">arch-general mailing list</a>
with your additional text.</p>
<p><strong>Note:</strong> Please do <em>not</em> use this facility if the
package is broken! Use the <a href="http://bugs.archlinux.org"
title="Arch Linux Bugtracker">bug tracker</a> instead.</p>
<p>Please confirm your flag request for {{pkg.pkgname}}:</p>
<form id="flag-pkg-form" method="post">{% csrf_token %}
<fieldset>
{{ form.as_p }}
</fieldset>
<p><label></label> <input title="Flag {{ pkg.pkgname }} as out-of-date" type="submit" value="Flag Package" /></p>
</form>
{% endif %}
</div>
{% endblock %}