{% extends 'base/layout.html' %} {% load helpers %} {% load form_helpers %} {% block title %}{{ obj_type|bettertitle }} Bulk Import{% endblock %} {% block content %}
{% csrf_token %} {% render_form form %}
{% 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 %}