{% load admin_modify %} {% output_all bound_field.form_fields %} {% if bound_field.raw_id_admin %} {% if bound_field.field.rel.limit_choices_to %} {% else %} {% endif %} {% elif bound_field.needs_add_label %} {% endif %}