{% if vaccines | default(false) %}
{% for vaccine in vaccines %} {% endfor %}
{{ icofont('test-tube') }} Vaccin {{ icofont('doctor') }} Créé par {{ icofont('settings') }} Actions
{{ vaccine.createdBy.name }}
{{ vaccine.createdBy.name }} {{ icofont('wall-clock') }} Créé le {{ vaccine.createdAt|date('d/m/Y à H:i') }}
{% if is_superior() %} {{ delete_btn(vaccine.id, path('manage_vaccine_delete', {id: vaccine.id}), csrf_token('delete' ~ vaccine.id), 'vaccine', 'Êtes-vous sûr de vouloir supprimer ce vaccin ?', 'Le vaccin a bien été supprimé avec succès.', 'La suppression a été annulée.', path('manage_vaccine_index')) }} {% endif %}
{% else %}
{{ notData() }}
{% endif %}