parent
97a7543f9e
commit
3b3cf56896
@ -0,0 +1,32 @@ |
||||
{% extends "admin/base_site.html" %} |
||||
{% load i18n l10n admin_urls %} |
||||
|
||||
{% block content %} |
||||
<div class="module"> |
||||
<h2>{{ title }}</h2> |
||||
<div> |
||||
<p>Change status for the following {{ orders|length }} orders:</p> |
||||
<ul> |
||||
{% for order in orders %} |
||||
<li>{{ order }}</li> |
||||
{% endfor %} |
||||
</ul> |
||||
</div> |
||||
|
||||
<form action="{% url 'admin:shop_order_changelist' %}" method="post"> |
||||
{% csrf_token %} |
||||
<input type="hidden" name="action" value="{{ action }}" /> |
||||
|
||||
{{ form.as_p }} |
||||
|
||||
{% for obj in orders %} |
||||
<input type="hidden" name="_selected_action" value="{{ obj.pk }}" /> |
||||
{% endfor %} |
||||
|
||||
<div class="actions"> |
||||
<input type="submit" name="apply" value="Change Status" class="default" /> |
||||
<a href="{% url 'admin:shop_order_changelist' %}" class="button cancel-link">Cancel</a> |
||||
</div> |
||||
</form> |
||||
</div> |
||||
{% endblock %} |
||||
Loading…
Reference in new issue