{% extends "admin/base_site.html" %}

{% block title %}Bulk import{% endblock %}




{% block breadcrumbs %}
<div class="breadcrumbs"><a href="/admin/">Home</a>
&rsaquo; <a href="/admin/crm/">Crm</a>
&rsaquo; <a href="/admin/crm/lead/">Leads</a>
&rsaquo; <a href="/admin/crm/lead/bulk_import/">Bulk import</a>
</div>
{% endblock %}

{% block content %}
<h1>Bulk import</h1>

{% if status %}
    <p><strong>{{ status }}</strong></p>
{% endif %}

{% if CRM_LEAD_IMPORT_FUNCTION  %}
    {% if users %}
        <form action="." method="post">
            <div class="submit-row">
                <input type="hidden" name="users" value="{{ users }}" />
                <input type="submit" name="confirmed" value="Confirm" class="default" />
            </div>
        </form>
    {% endif %}
{% else %}
    <p><strong>You do not have an external system set up for data import.</strong></p>
    <p>This can be configured in with the 'CRM_LEAD_IMPORT_FUNCTION' constant in 'settings.py'.</p>
{% endif %}
{% endblock %}
