{% if vaccines | default(false) %}
{% else %}
|
|
{{ icofont('test-tube') }} Vaccin | {{ icofont('doctor') }} Créé par | {{ icofont('settings') }} Actions |
|---|---|---|---|
|
|
{{ icofont('test-tube') }}
|
{{ 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 %}
|
{{ notData() }}
{% endif %}