{% extends 'base/layout.html' %} {% load helpers %} {% load form_helpers %} {% load i18n %} {% comment %} Context: model: The model class being imported form: The bulk import form fields: A dictionary of form fields, to display import options (optional) return_url: The URL to which the user is redirected after submitting the form {% endcomment %} {% block title %}{{ model|meta:"verbose_name"|bettertitle }} {% trans "Bulk Import" %}{% endblock %} {% block tabs %}
{% endblock tabs %} {% block content-wrapper %}{% trans "Field" %} | {% trans "Required" %} | {% trans "Accessor" %} | {% trans "Description" %} |
---|---|---|---|
{% if field.required %}{% endif %}{{ name }}{% if field.required %}{% endif %}
|
{% if field.required %} {% checkmark True true="Required" %} {% else %} {{ ''|placeholder }} {% endif %} |
{% if field.to_field_name %}
{{ field.to_field_name }}
{% else %}
{{ ''|placeholder }}
{% endif %}
|
{% if field.STATIC_CHOICES %}
{% elif field.label %} {{ field.label }} {% endif %} {% if field|widget_type == 'dateinput' %} {% trans "Format: YYYY-MM-DD" %} {% elif field|widget_type == 'checkboxinput' %} {% trans "Specify \"true\" or \"false" %}" {% endif %} |
{% blocktrans %}Required fields must be specified for all objects.{% endblocktrans %}
{% blocktrans with example="vrf.rd" %}Related objects may be referenced by any unique attribute. For example, {{ example }}
would identify a VRF by its route distinguisher.{% endblocktrans %}