{% extends 'base.html.twig' %} {% block title %}{{ cheval.getNomCheval() }}{% endblock %} {% block body %}
Photo de profil de {{ cheval.getNomCheval() }}

{{ cheval.getNomCheval() }}

{{ cheval.getLabelSexe() }} {{ cheval.getLabelCouleur() }} {{ cheval.getStatutVente() }} {% if cheval.getAge() >= 0 %}| {{ cheval.getAge() }} {{ cheval.getAge() == 1 ? 'an' : 'ans'}}{% endif %} {% if cheval.getPonctuation() != null %}| {{ cheval.getPonctuation }} Pts{% endif %}

{{ cheval.getDescCheval() }}

{% if is_granted('IS_AUTHENTICATED_FULLY') %}
{% include 'horse/_delete_form.html.twig' with { 'cheval': { 'id': cheval.getId(), 'name': cheval.getNomCheval() } } %}
{% endif %}

ASCENDANCE

{% include 'component/ascendance_card.html.twig' with {'cheval': cheval} %}
{% include 'component/ascendance_card.html.twig' with {'cheval': cheval.getPere()} %} {% include 'component/ascendance_card.html.twig' with {'cheval': cheval.getMere()} %}
{% if cheval.getPere() != null %} {% include 'component/ascendance_card.html.twig' with {'cheval': cheval.getPere().getPere()} %} {% include 'component/ascendance_card.html.twig' with {'cheval': cheval.getPere().getMere()} %} {% else %} {% include 'component/ascendance_card.html.twig' with {'cheval': null} %} {% include 'component/ascendance_card.html.twig' with {'cheval': null} %} {% endif %}
{% if cheval.getMere() != null %} {% include 'component/ascendance_card.html.twig' with {'cheval': cheval.getMere().getPere()} %} {% include 'component/ascendance_card.html.twig' with {'cheval': cheval.getMere().getMere()} %} {% else %} {% include 'component/ascendance_card.html.twig' with {'cheval': null} %} {% include 'component/ascendance_card.html.twig' with {'cheval': null} %} {% endif %}
{% if is_granted('IS_AUTHENTICATED_FULLY') %}
Modifier son ascendance
{% endif %}

DÉTAILS

Éleveur {{ cheval.getIdEleveur().getNomEleveur() }}
UELN {{ cheval.getUeln() }}
NIN {% if cheval.getNin() != null %}{{ cheval.getNin() }} (Voir le stud-book) {% endif %}
Race {{ cheval.getIdRace().getLabelRace() }}
Date de naissance {% if cheval.getDateNaissance() != null %} {{ cheval.getDateNaissance()|date('d/m/Y') }} ({{ cheval.getAge() }} {{ cheval.getAge() == 1 ? 'an' : 'ans'}}) {% endif %}
Sexe {{ cheval.getSexe() == 'M' ? 'Mâle' : 'Femelle' }}
Couleur {{ cheval.getIdCouleur().getLabelCouleur() }}
Ponctuation {% if cheval.ponctuation != null %} {{ cheval.ponctuation }} Pts {% endif %}

GALERIE

DESCENDANTS

{% endblock %}