demarches-normaliennes/app/components/dossiers/row_show_component.html.haml

16 lines
479 B
Text
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

.champ-row
%p.champ-label
= "#{label} :"
- if updated_at.present?
%span.fr-ml-3v.champ-updated{ class: badge_updated_class }
= t(:updated_at, scope: [:views, :shared, :dossiers, :form], datetime: helpers.try_format_datetime(updated_at, format: :veryshort))
- if blank?
.champ-content.fr-text-mention--grey{ class: content_class }
- if usager?
%p.champ-blank= blank
- else
.champ-content{ class: content_class }
= value