2022-11-01 13:31:53 +01:00
|
|
|
.fr-col-6.fr-col-md-4.fr-col-lg-3
|
2024-05-29 21:47:09 +02:00
|
|
|
= link_to edit_attestation_path, class: 'fr-tile fr-enlarge-link' do
|
2023-07-28 17:19:47 +02:00
|
|
|
.fr-tile__body.flex.column.align-center.justify-between
|
2022-11-09 12:09:24 +01:00
|
|
|
- if @procedure.attestation_template&.activated?
|
2022-11-01 13:31:53 +01:00
|
|
|
%div
|
2022-11-09 12:10:19 +01:00
|
|
|
- if error_messages.present?
|
2023-11-15 15:54:19 +01:00
|
|
|
%p.fr-badge.fr-badge--warning À modifier
|
2022-11-09 12:10:19 +01:00
|
|
|
- else
|
2023-11-15 15:54:19 +01:00
|
|
|
%p.fr-badge.fr-badge--success Activée
|
2022-11-01 13:31:53 +01:00
|
|
|
- else
|
2023-11-15 15:54:19 +01:00
|
|
|
%p.fr-badge Désactivée
|
2022-10-14 16:55:29 +02:00
|
|
|
%div
|
2022-11-01 13:31:53 +01:00
|
|
|
%h3.fr-h6.fr-mt-10v= t('.title')
|
|
|
|
%p.fr-tile-subtitle Délivrance automatique pour les dossiers acceptés
|
|
|
|
%p.fr-btn.fr-btn--tertiary= t('views.shared.actions.edit')
|