evorepo/templates/mirrors/index.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

23 lines
732 B
HTML

{% extends "base.html" %}
{% load package_extras %}
{% block title %}Arch Linux - Pacman Mirrorlist Generator{% endblock %}
{% block content %}
<div id="mirrorlist-gen" class="box">
<h2>Pacman Mirrorlist Generator</h2>
<p>The following form can generate a custom up-to-date
<a href="http://wiki.archlinux.org/index.php/Pacman"
title="ArchWiki: Pacman">pacman</a> mirrorlist based on geography.
Simply replace the contents of <code>/etc/pacman.d/mirrorlist</code> with
the generated code.</p>
<form id="list-generator" method="post">{% csrf_token %}
{{ mirrorlist_form.as_p }}
<p><label></label> <input type="submit" value="Generate List" /></p>
</form>
</div>
{% endblock %}