{% extends "admin/base.html" %} {% block content %}
{% csrf_token %} {{ form.url.errors }} {{ form.url.label_tag }} {{ form.url }} {% if form.url.help_text %}

{{ form.url.help_text|safe }}

{% endif %} {% if crawl_policy %}

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

Create a new policy

{% 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 %}

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