demarches-normaliennes/app/components/procedure/card/attestation_component/attestation_component.html.haml

16 lines
624 B
Text
Raw Normal View History

.fr-col-6.fr-col-md-4.fr-col-lg-3
= link_to edit_admin_procedure_attestation_template_path(@procedure), class: 'fr-tile fr-enlarge-link' do
.fr-tile__body.flex.justify-between
- if @procedure.draft_attestation_template&.activated?
%div
%span.icon.accept
%p.fr-tile-status-accept Activée
- else
%div
%span.icon.clock
%p.fr-tile-status-todo Désactivée
%div
%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')