{% load i18n l10n fontawesome_5 %}
{{before_states.count}} {% trans 'States before' %}
{% if is_default_member and has_access %} {% endif %}
{% if sum_before_states < sum_after_states %}
{% trans 'Missing surfaces according to states after: ' %}{{ diff_states|floatformat:2 }} m²
{% endif %} {% if is_default_member and has_access %} {% endif %} {% for state in before_states %} {% endfor %}
{% trans 'Biotope type' %} {% trans 'Biotope additional type' %} {% trans 'Surface' %} {% trans 'Action' %}
{{ state.biotope_type }} {% for biotope_extra in state.biotope_type_details.all %}
{{ biotope_extra.long_name }}
{% endfor %}
{{ state.surface|floatformat:2 }} m² {% if is_default_member and has_access %} {% endif %}