Merge pull request #1753 from betagouv/frederic/fix_1750-keep_procedure_description_paragraphs

Fix #1750 – keep procedure description paragraphs
This commit is contained in:
Frederic Merizen 2018-03-29 11:37:35 +02:00 committed by GitHub
commit 53c8396b41
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View file

@ -16,7 +16,7 @@
= @facade.procedure.libelle
#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?
.center

View file

@ -9,7 +9,7 @@
%h2.procedure-title
= @dossier.procedure.libelle
.procedure-description
= h sanitize(@dossier.procedure.description)
= h simple_format(@dossier.procedure.description)
.column
= form_for @dossier.individual, url: update_identite_dossier_path(@dossier), html: { class: "form" } do |f|

View file

@ -20,7 +20,7 @@
%h2.procedure-title
= @dossier.procedure.libelle
.procedure-description
= h sanitize(@dossier.procedure.description)
= h simple_format(@dossier.procedure.description)
.column.auth-form
= form_for @user, url: user_session_path, html: { class: "form" } do |f|

View file

@ -6,7 +6,7 @@
= @procedure.libelle
%div
= sanitize(@procedure.description)
= simple_format(@procedure.description)
%br
= form_tag(url_for({ controller: :dossiers, action: :create }), class: 'form-inline', method: 'POST') do |f|