Avis: wording

This commit is contained in:
Simon Lehericey 2017-09-20 10:51:06 +02:00
parent 3c3e303a59
commit bacff0a178
4 changed files with 10 additions and 8 deletions

View file

@ -14,8 +14,11 @@
} }
h2 { h2 {
font-weight: bold;
margin-bottom: $default-padding; margin-bottom: $default-padding;
.email {
font-weight: bold;
}
} }
.introduction { .introduction {
@ -32,7 +35,6 @@
font-size: 12px; font-size: 12px;
color: $grey; color: $grey;
float: right; float: right;
font-weight: normal;
} }
} }
@ -99,11 +101,10 @@
} }
h2 { h2 {
font-weight: bold;
margin-bottom: $default-spacer; margin-bottom: $default-spacer;
span { .email {
font-weight: normal; font-weight: bold;
} }
} }

View file

@ -5,7 +5,8 @@
%section.give-avis %section.give-avis
%h1 Donner votre avis %h1 Donner votre avis
%h2.claimant %h2.claimant
= @avis.claimant.email Demandeur :
%span.email= @avis.claimant.email
%span.date Demande d'avis envoyée le #{I18n.l(@avis.created_at.localtime, format: '%d/%m/%y')} %span.date Demande d'avis envoyée le #{I18n.l(@avis.created_at.localtime, format: '%d/%m/%y')}
%p.introduction= @avis.introduction %p.introduction= @avis.introduction

View file

@ -3,7 +3,7 @@
#dossier-instruction.container #dossier-instruction.container
%section.ask-avis %section.ask-avis
%h1 Inviter une personne à donner son avis %h1 Inviter une personne à donner son avis
%p.avis-notice Elle pourra consulter, donner un avis sur le dossier et contribuer au fil de messagerie, mais elle ne pourra le modifier. %p.avis-notice L'invité pourra consulter, donner un avis sur le dossier et contribuer au fil de messagerie, mais il ne pourra le modifier.
= form_for Avis.new, url: avis_dossier_path(@dossier.procedure, @dossier), html: { class: 'form' } do |f| = form_for Avis.new, url: avis_dossier_path(@dossier.procedure, @dossier), html: { class: 'form' } do |f|
= f.email_field :email, placeholder: 'Adresse email', required: true = f.email_field :email, placeholder: 'Adresse email', required: true

View file

@ -162,7 +162,7 @@
.container .container
%section.ask-avis %section.ask-avis
%h1 Inviter une personne à donner son avis %h1 Inviter une personne à donner son avis
%p.avis-notice Elle pourra consulter, donner un avis sur le dossier et contribuer au fil de messagerie, mais elle ne pourra le modifier. %p.avis-notice L'invité pourra consulter, donner un avis sur le dossier et contribuer au fil de messagerie, mais il ne pourra le modifier.
= form_for Avis.new, url: '/', html: { class: 'form' } do |f| = form_for Avis.new, url: '/', html: { class: 'form' } do |f|
= f.email_field :email, placeholder: 'Adresse email', required: true = f.email_field :email, placeholder: 'Adresse email', required: true