{% extends "admin/base.html" %} {% block content %}
{% csrf_token %}

{{ form.urls.label }}

{{ form.urls.errors }} {{ form.urls }} {% if form.urls.help_text %}

{{ form.urls.help_text|safe }}

{% endif %} {% if crawl_policies %}

Crawl polic{{ crawl_policies|length|pluralize:"y,ies" }}

{% if crawl_policies|length == 1 %}

This URL will be crawled with policy {{ crawl_policy }}:

{% include "admin/crawl_policy_desc.html" with add_to_queue=True label_tag="label_tag" %}

Create a new policy

{% else %}

These URLs will be crawled with policies:

{% endif %} {% if crawl_policy.recursion == CrawlPolicy.CRAWL_ON_DEPTH or settings.SOSSE_BROWSABLE_HOME %}

Parameters

{% endif %} {% if crawl_policy.recursion == CrawlPolicy.CRAWL_ON_DEPTH %} {{ form.recursion_depth.errors }} {{ form.recursion_depth.label_tag }} {{ form.recursion_depth }} {% if form.recursion_depth.help_text %}

{{ form.recursion_depth.help_text|safe }}

{% endif %} {% endif %} {% if settings.SOSSE_BROWSABLE_HOME %} {{ form.show_on_homepage.errors }} {{ form.show_on_homepage }} {% if form.show_on_homepage.help_text %}

{{ form.show_on_homepage.help_text|safe }}

{% endif %} {% endif %}

{% else %} {% endif %}
{% endblock %}