diff options
Diffstat (limited to 'commcrawler/templates/admin/add_to_crawl.html')
-rw-r--r-- | commcrawler/templates/admin/add_to_crawl.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/commcrawler/templates/admin/add_to_crawl.html b/commcrawler/templates/admin/add_to_crawl.html new file mode 100644 index 0000000..3822a73 --- /dev/null +++ b/commcrawler/templates/admin/add_to_crawl.html @@ -0,0 +1,16 @@ +{% extends "admin/base_site.html" %}{% load i18n %} + +{% block content %} +<h1>{% blocktrans %}Add {{query_nb}} selected items to a crawl{% endblocktrans %}</h1> +<div id="content-main"> + <form action="." method="post"> + {% csrf_token %} + {{form}} + + <input type="hidden" name="action" value="add_to_crawl" /> + <input type="submit" name="apply" value="{% trans 'Add' %}"/> + {% for pk in items %} + <input type="hidden" name="_selected_action" value="{{ pk }}" />{% endfor %} + </form> +</div> +{% endblock %}
\ No newline at end of file |