Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: b56d9d491e
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (28 sloc) 0.931 kB
{% extends "base.html" %}
{% block title %}Choose a redirect for "{{ term }}"{% endblock %}
{% block pagetitle %}Choose a redirect for <kbd>{{ term }}</kbd>:{% endblock %}
{% block content %}
{% load url from future %}
{% if winners %}
<ul class="winners">
{% for choice in winners %}
<li><a href="?url={{ choice|urlencode }}">{{ choice }}</a></li>
{% endfor %}
</ul>
{% endif %}
{% if losers %}
<ul class="losers">
{% for choice in losers %}
<li><a href="?url={{ choice|urlencode }}">{{ choice }}</a></li>
{% endfor %}
</ul>
{% endif %}
<form action="{% url "redirect_to_term" version=version term=term %}" method="get">
{% if form.errors %}<p class="err">{{ form.url.errors.as_text }}</p>{% endif %}
<p>
{{ form.url.label_tag }}
{{ form.url }}
<input type="submit" value="Save &amp; go &rarr;">
</p>
</form>
{% endblock %}
Jump to Line
Something went wrong with that request. Please try again.