@ -29,9 +29,12 @@
< table class = "table table-hover" >
< table class = "table table-hover" >
< thead >
< thead >
< tr >
< tr >
< th scope= "col" >
< th class= "w-25" scope= "col" >
{% trans 'Biotope type' %}
{% trans 'Biotope type' %}
< / th >
< / th >
< th class = "w-25" scope = "col" >
{% trans 'Biotope additional type' %}
< / th >
< th scope = "col" >
< th scope = "col" >
{% trans 'Surface' %}
{% trans 'Surface' %}
< / th >
< / th >
@ -48,8 +51,15 @@
< td class = "align-middle" >
< td class = "align-middle" >
{{ state.biotope_type }}
{{ state.biotope_type }}
< / td >
< / td >
< td class = "align-middle" >
{% for biotope_extra in state.biotope_extra_types.all %}
< div class = "mb-2" title = "{{ biotope_extra }}" >
{{ biotope_extra.long_name }}
< / div >
{% endfor %}
< / td >
< td class = "align-middle" > {{ state.surface|floatformat:2 }} m²< / td >
< td class = "align-middle" > {{ state.surface|floatformat:2 }} m²< / td >
< td >
< td class = "align-middle" >
{% if is_default_member and has_access %}
{% if is_default_member and has_access %}
< button data-form-url = "{% url 'compensation:acc-state-remove' obj.id state.id %}" class = "btn btn-default btn-modal" title = "{% trans 'Remove state' %}" >
< button data-form-url = "{% url 'compensation:acc-state-remove' obj.id state.id %}" class = "btn btn-default btn-modal" title = "{% trans 'Remove state' %}" >
{% fa5_icon 'trash' %}
{% fa5_icon 'trash' %}