{% load localcosmos_tags genericforms i18n %} {% if not generic_field.label %} {% trans 'Unlabeled' %} {% endif %} {% render_bootstrap_field django_field %} {% if generic_field.taxonomic_restrictions.all %}
{% trans 'Taxonomic restrictions:' %} {% for restriction in generic_field.taxonomic_restrictions.all %} {{ restriction.taxon_latname }} {% if restriction.restriction_type != 'exists' %}({{ restriction.restriction_type }}){% endif %}, {% endfor %}
{% endif %}