format motivation in dossier overview
This commit is contained in:
parent
269e7e1432
commit
7f0ece3729
2 changed files with 4 additions and 4 deletions
|
@ -18,7 +18,7 @@
|
|||
- if dossier.motivation.present?
|
||||
= render Dossiers::RowShowComponent.new(label: "Motivation") do |c|
|
||||
- c.with_value do
|
||||
= dossier.motivation
|
||||
= simple_format dossier.motivation
|
||||
|
||||
- if dossier.attestation.present?
|
||||
= render Dossiers::RowShowComponent.new(label: "Attestation") do |c|
|
||||
|
|
|
@ -62,7 +62,7 @@
|
|||
|
||||
- if dossier.motivation.present?
|
||||
%h3= t('views.users.dossiers.show.status_overview.accepte_motivation')
|
||||
%blockquote= dossier.motivation
|
||||
%blockquote= simple_format(dossier.motivation)
|
||||
|
||||
= render partial: 'users/dossiers/show/download_justificatif', locals: { dossier: dossier }
|
||||
|
||||
|
@ -81,7 +81,7 @@
|
|||
|
||||
- if dossier.motivation.present?
|
||||
%h3= t('views.users.dossiers.show.status_overview.refuse_motivation')
|
||||
%blockquote= dossier.motivation
|
||||
%blockquote= simple_format(dossier.motivation)
|
||||
|
||||
= render partial: 'users/dossiers/show/download_justificatif', locals: { dossier: dossier }
|
||||
.action
|
||||
|
@ -97,4 +97,4 @@
|
|||
|
||||
- if dossier.motivation.present?
|
||||
%h3= t('views.users.dossiers.show.status_overview.sans_suite_motivation')
|
||||
%blockquote= dossier.motivation
|
||||
%blockquote= simple_format(dossier.motivation)
|
||||
|
|
Loading…
Reference in a new issue