Merge pull request #1753 from betagouv/frederic/fix_1750-keep_procedure_description_paragraphs
Fix #1750 – keep procedure description paragraphs
This commit is contained in:
commit
53c8396b41
4 changed files with 4 additions and 4 deletions
|
@ -16,7 +16,7 @@
|
||||||
= @facade.procedure.libelle
|
= @facade.procedure.libelle
|
||||||
|
|
||||||
#description_procedure{ style: 'width: 95%;', class: (@facade.entreprise.nil? ? '' : 'mask') }
|
#description_procedure{ style: 'width: 95%;', class: (@facade.entreprise.nil? ? '' : 'mask') }
|
||||||
= h sanitize(@facade.procedure.description)
|
= h simple_format(@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 sanitize(@dossier.procedure.description)
|
= h simple_format(@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|
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
%h2.procedure-title
|
%h2.procedure-title
|
||||||
= @dossier.procedure.libelle
|
= @dossier.procedure.libelle
|
||||||
.procedure-description
|
.procedure-description
|
||||||
= h sanitize(@dossier.procedure.description)
|
= h simple_format(@dossier.procedure.description)
|
||||||
|
|
||||||
.column.auth-form
|
.column.auth-form
|
||||||
= form_for @user, url: user_session_path, html: { class: "form" } do |f|
|
= form_for @user, url: user_session_path, html: { class: "form" } do |f|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
= @procedure.libelle
|
= @procedure.libelle
|
||||||
|
|
||||||
%div
|
%div
|
||||||
= sanitize(@procedure.description)
|
= simple_format(@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…
Reference in a new issue