[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
|
%h4.text-info
|
||||||
= procedure.libelle
|
= procedure.libelle
|
||||||
|
|
||||||
= h sanitize(procedure.description)
|
= h string_to_html(procedure.description)
|
||||||
|
|
||||||
.champs.col-xs-6.col-md-3
|
.champs.col-xs-6.col-md-3
|
||||||
%h4.text-info
|
%h4.text-info
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
= @facade.procedure.libelle
|
= @facade.procedure.libelle
|
||||||
|
|
||||||
#description_procedure{ style: 'width: 95%;', class: (@facade.etablissement.nil? ? '' : 'mask') }
|
#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?
|
- if @facade.procedure.lien_site_web.present?
|
||||||
.center
|
.center
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
%h2.procedure-title
|
%h2.procedure-title
|
||||||
= @dossier.procedure.libelle
|
= @dossier.procedure.libelle
|
||||||
.procedure-description
|
.procedure-description
|
||||||
= h simple_format(@dossier.procedure.description)
|
= h string_to_html(@dossier.procedure.description)
|
||||||
|
|
||||||
.column
|
.column
|
||||||
= form_for @dossier.individual, url: update_identite_dossier_path(@dossier), html: { class: "form" } do |f|
|
= 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')}"
|
= "modifié le #{champ.updated_at.strftime('%d/%m/%Y à %H:%M')}"
|
||||||
|
|
||||||
- if champ.description.present?
|
- 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
|
%h2.explication-libelle= champ.libelle
|
||||||
.explication
|
.explication
|
||||||
= html_formatted_description(champ.description)
|
= string_to_html(champ.description)
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
%h2#titre-procedure.text-info
|
%h2#titre-procedure.text-info
|
||||||
= @dossier.procedure.libelle
|
= @dossier.procedure.libelle
|
||||||
%p.procedure-description
|
%p.procedure-description
|
||||||
= h sanitize(@dossier.procedure.description)
|
= h string_to_html(@dossier.procedure.description)
|
||||||
|
|
||||||
- else
|
- else
|
||||||
#logo_procedure.flag
|
#logo_procedure.flag
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
= @procedure.libelle
|
= @procedure.libelle
|
||||||
|
|
||||||
%div
|
%div
|
||||||
= simple_format(@procedure.description)
|
= h string_to_html(@procedure.description)
|
||||||
|
|
||||||
%br
|
%br
|
||||||
= form_tag(url_for({ controller: :dossiers, action: :create }), class: 'form-inline', method: 'POST') do |f|
|
= form_tag(url_for({ controller: :dossiers, action: :create }), class: 'form-inline', method: 'POST') do |f|
|
||||||
|
|
Loading…
Add table
Reference in a new issue