2023-07-03 22:41:46 +02:00
|
|
|
|
.champ-row
|
2023-07-07 12:08:52 +02:00
|
|
|
|
%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))
|
2023-07-03 22:41:46 +02:00
|
|
|
|
|
|
|
|
|
- if blank?
|
|
|
|
|
.champ-content.fr-text-mention--grey{ class: content_class }
|
|
|
|
|
- if usager?
|
2023-07-07 12:08:52 +02:00
|
|
|
|
%p.champ-blank= blank
|
2023-07-03 22:41:46 +02:00
|
|
|
|
|
|
|
|
|
- else
|
|
|
|
|
|
2023-07-07 12:08:52 +02:00
|
|
|
|
.champ-content{ class: content_class }
|
2023-07-03 22:41:46 +02:00
|
|
|
|
= value
|