{% extends 'base/layout.html' %} {% load helpers %} {% load form_helpers %} {% block title %}{{ obj_type|bettertitle }} Bulk Import{% endblock %} {% block tabs %} {% endblock %} {% block content-wrapper %}
{% block content %}
{% csrf_token %}
{% render_field form.csv %}
{% render_field form.csv_file %}
{% if return_url %} Cancel {% endif %}
{% if fields %}
CSV Field Options
{% for name, field in fields.items %} {% endfor %}
Field Required Accessor Description
{{ name }} {% if field.required %} {% else %} {% endif %} {% if field.to_field_name %} {{ field.to_field_name }} {% else %} {% endif %} {% if field.STATIC_CHOICES %} {% endif %} {% if field.help_text %} {{ field.help_text }}
{% elif field.label %} {{ field.label }}
{% endif %} {% if field|widget_type == 'dateinput' %} Format: YYYY-MM-DD {% elif field|widget_type == 'checkboxinput' %} Specify "true" or "false" {% endif %}

Required fields must be specified for all objects.

Related objects may be referenced by any unique attribute. For example, vrf.rd would identify a VRF by its route distinguisher.

{% endif %}
{% endblock content %}
{% endblock %}