[Fix #1801] use the new string_to_html method
This commit is contained in:
parent
152cf03d72
commit
cf36d7f1ed
7 changed files with 7 additions and 7 deletions
|
@ -68,7 +68,7 @@
|
|||
%h4.text-info
|
||||
= procedure.libelle
|
||||
|
||||
= h sanitize(procedure.description)
|
||||
= h string_to_html(procedure.description)
|
||||
|
||||
.champs.col-xs-6.col-md-3
|
||||
%h4.text-info
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
= @facade.procedure.libelle
|
||||
|
||||
#description_procedure{ style: 'width: 95%;', class: (@facade.etablissement.nil? ? '' : 'mask') }
|
||||
= h simple_format(@facade.procedure.description)
|
||||
= h string_to_html(@facade.procedure.description)
|
||||
|
||||
- if @facade.procedure.lien_site_web.present?
|
||||
.center
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
%h2.procedure-title
|
||||
= @dossier.procedure.libelle
|
||||
.procedure-description
|
||||
= h simple_format(@dossier.procedure.description)
|
||||
= h string_to_html(@dossier.procedure.description)
|
||||
|
||||
.column
|
||||
= form_for @dossier.individual, url: update_identite_dossier_path(@dossier), html: { class: "form" } do |f|
|
||||
|
|
|
@ -8,4 +8,4 @@
|
|||
= "modifié le #{champ.updated_at.strftime('%d/%m/%Y à %H:%M')}"
|
||||
|
||||
- if champ.description.present?
|
||||
%span.notice= html_formatted_description(champ.description)
|
||||
%span.notice= string_to_html(champ.description)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
%h2.explication-libelle= champ.libelle
|
||||
.explication
|
||||
= html_formatted_description(champ.description)
|
||||
= string_to_html(champ.description)
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
%h2#titre-procedure.text-info
|
||||
= @dossier.procedure.libelle
|
||||
%p.procedure-description
|
||||
= h sanitize(@dossier.procedure.description)
|
||||
= h string_to_html(@dossier.procedure.description)
|
||||
|
||||
- else
|
||||
#logo_procedure.flag
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
= @procedure.libelle
|
||||
|
||||
%div
|
||||
= simple_format(@procedure.description)
|
||||
= h string_to_html(@procedure.description)
|
||||
|
||||
%br
|
||||
= form_tag(url_for({ controller: :dossiers, action: :create }), class: 'form-inline', method: 'POST') do |f|
|
||||
|
|
Loading…
Add table
Reference in a new issue