{% load i18n localcosmos_tags %}
{% blocktrans with name=content %}{{ name }} is restricted to the following taxa{% endblocktrans %}
{% if restrictions %} {% with restrictions.0|class_name as restriction_class %} {% endwith %} {% else %} {% trans 'Usable for all taxa' %} {% endif %}
{% trans 'Add taxonomic restriction' %}
{% block form %} {% for field in form %}
{{ field }} {% if field.help_text %} {{ field.help_text }} {% endif %}
{% endfor %} {% if form.errors %}
{{ form.errors.as_text }}
{% endif %} {% endblock %}