Add a set country function on Counties admin.

This commit is contained in:
2013-04-10 22:31:34 +01:00
parent 7e3f29e166
commit 07d9d163de
2 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
{% extends "admin/base_site.html" %}
{% block content %}
<p>Set the county's country to:</p>
<form action="" method="post">
{{ country_form }}
<p>The following counties will be set:</p>
<ul>{{ stores|unordered_list }}</ul>
<input type="hidden" name="action" value="set_country" />
<input type="submit" name="apply" value="Apply tag" />
{% csrf_token %}
</form>
{% endblock %}