mandatory_explanation added in the description and changed PJ label_tag to :piece_jointe
This commit is contained in:
parent
8dcfdedc3e
commit
b88dc6ec72
1 changed files with 12 additions and 5 deletions
|
@ -6,11 +6,18 @@
|
||||||
.container
|
.container
|
||||||
%h1.new-h1 Contact
|
%h1.new-h1 Contact
|
||||||
|
|
||||||
.description
|
|
||||||
Contactez-nous via ce formulaire et nous vous répondrons dans les plus brefs délais.
|
|
||||||
Pensez bien à nous donner le plus d'informations possible pour que nous puissions vous aider au mieux
|
|
||||||
|
|
||||||
= form_tag contact_path, method: :post, multipart: true, class: 'form' do |f|
|
= form_tag contact_path, method: :post, multipart: true, class: 'form' do |f|
|
||||||
|
|
||||||
|
.description
|
||||||
|
%p
|
||||||
|
Contactez-nous via ce formulaire et nous vous répondrons dans les plus brefs délais.
|
||||||
|
Pensez bien à nous donner le plus d'informations possible pour que nous puissions vous aider au mieux.
|
||||||
|
%br
|
||||||
|
%p.mandatory-explanation
|
||||||
|
Les champs suivis d'un astérisque (
|
||||||
|
%span.mandatory *
|
||||||
|
) sont obligatoires.
|
||||||
|
|
||||||
- if !user_signed_in?
|
- if !user_signed_in?
|
||||||
.contact-champ
|
.contact-champ
|
||||||
= label_tag :email do
|
= label_tag :email do
|
||||||
|
@ -90,7 +97,7 @@
|
||||||
= text_area_tag :text, params[:text], rows: 6, required: true
|
= text_area_tag :text, params[:text], rows: 6, required: true
|
||||||
|
|
||||||
.contact-champ
|
.contact-champ
|
||||||
= label_tag :text do
|
= label_tag :piece_jointe do
|
||||||
Pièce jointe
|
Pièce jointe
|
||||||
%p.notice.hidden{ data: { 'contact-type-only': Helpscout::FormAdapter::TYPE_AMELIORATION } }
|
%p.notice.hidden{ data: { 'contact-type-only': Helpscout::FormAdapter::TYPE_AMELIORATION } }
|
||||||
Une capture d’écran peut nous aider à identifier plus facilement l’endroit à améliorer.
|
Une capture d’écran peut nous aider à identifier plus facilement l’endroit à améliorer.
|
||||||
|
|
Loading…
Add table
Reference in a new issue