{% if not editing %} {% endif %}
{% if editing %} {{ include('horse/measurement/form.html.twig', { form: form }) }} {% endif %}
{% if not editing %}

{{ ux_icon('guidance:calendar', { class: 'inline text-lime-700 w-5 h-5' }) }} Réalisée le : {{ measurement.date|date("d/m/Y") }}

{% if measurement.weight %}

{{ ux_icon('mdi:weight-kilogram', { class: 'inline w-5 h-5' }) }} Poids : {{ measurement.weight }} kg

{% endif %} {% if measurement.height %}

{{ ux_icon('arcticons:height-increase-workout', { class: 'inline w-5 h-5' }) }} Taille : {{ measurement.height }} cm

{% endif %}
{% if measurement.details %}
{{ ux_icon('ic:outline-comment', { class: 'inline text-gray-500 w-5 h-5 mt-0.5' }) }}

Commentaire : {{ measurement.details }}

{% endif %}
{% endif %}
{% if showDeleteModal %} {{ include('horse/partials/_delete_modal.html.twig', { title: "Suppression de la mesure", message: "Êtes-vous sûr de vouloir supprimer cet élément ? Cette action est irréversible.", }) }} {% endif %}