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

17 lines
479 B
Text
Raw Normal View History

.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