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

16 lines
573 B
Text
Raw Normal View History

.fr-col-6.fr-col-md-4.fr-col-lg-3
= link_to zones_admin_procedure_path(@procedure), id: 'zones', class: 'fr-tile fr-enlarge-link' do
2023-07-28 17:19:47 +02:00
.fr-tile__body.flex.column.align-center.justify-between
- if @procedure.zones.size >= 1
%div
%span.icon.accept
%p.fr-tile-status-accept Validé
- else
%div
%span.icon.clock
%p.fr-tile-status-todo À faire
%div
%h3.fr-h6.fr-mt-10v= t('.title')
%p.fr-tile-subtitle= t('.subtitle')
%p.fr-btn.fr-btn--tertiary= t('views.shared.actions.edit')