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

17 lines
506 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 blank?
.champ-content.fr-text-mention--grey{ class: content_class }
- if usager?
%p
%em= blank
- else
.champ-content{ class: content_class }
- if updated_at.present?
%p.fr-mb-1v.fr-ml-3v.champ-updated
%span{ class: badge_updated_class }
= t(:updated_at, scope: [:views, :shared, :dossiers, :form], datetime: helpers.try_format_datetime(updated_at, format: :veryshort))
= value