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

17 lines
672 B
Text
Raw Normal View History

.fr-col-6.fr-col-md-4.fr-col-lg-3
= link_to annotations_admin_procedure_path(@procedure), class: 'fr-tile fr-enlarge-link', title: error_messages do
2023-07-28 17:19:47 +02:00
.fr-tile__body.flex.column.align-center.justify-between
- if error_messages.present?
2023-11-28 13:53:43 +01:00
%p.fr-badge.fr-badge--error À modifier
- elsif @count == 0
%p.fr-badge.fr-badge--info À configurer
- else
%p.fr-badge.fr-badge--success Validé
%div
.line-count.fr-my-1w
%p.fr-tag= @count
%h3.fr-h6
= t('.title')
%p.fr-tile-subtitle Champs à remplir par ladministration
%p.fr-btn.fr-btn--tertiary= t('views.shared.actions.edit')