diff --git a/app/views/support/index.html.haml b/app/views/support/index.html.haml index 99fee2678..532cbab8e 100644 --- a/app/views/support/index.html.haml +++ b/app/views/support/index.html.haml @@ -18,6 +18,7 @@ .fr-input-group = label_tag :email, class: 'fr-label' do Email + = t('.notice_email') = render EditableChamp::AsteriskMandatoryComponent.new = email_field_tag :email, params[:email], required: true, autocomplete: 'email', class: 'fr-input' @@ -65,7 +66,7 @@ = t('.notice_pj_product') %p.notice.hidden{ data: { 'contact-type-only': Helpscout::FormAdapter::TYPE_AUTRE } } = t('.notice_pj_other') - = file_field_tag :piece_jointe, class: 'fr-upload', max: 200.megabytes + = file_field_tag :piece_jointe, class: 'fr-upload', accept: '.jpg, .jpeg, .png, .pdf' = hidden_field_tag :tags, @tags&.join(',') diff --git a/config/locales/views/support/en.yml b/config/locales/views/support/en.yml index 0fda6c690..a280d3746 100644 --- a/config/locales/views/support/en.yml +++ b/config/locales/views/support/en.yml @@ -4,8 +4,9 @@ en: contact: Contact intro_html: "
Contact us via this form and we will answer you as quickly as possible.
Make sure you provide all the required information so we can help you in the best way.
" + notice_email: "(example: myaddress@mymail.com)" your_question: Your question - our_answer: 👉 Our answer + our_answer: Our answer notice_pj_product: A screenshot can help us identify the element to improve. notice_pj_other: A screenshot can help us identify the issue. notice_upload_group: "Maximum size: 200 MB. Supported formats: jpg, png, pdf." @@ -19,7 +20,7 @@ en:If you are facing technical issues on the website, use the form below. We will not be able to inform you about the instruction of your application.
" product: question: I have an idea to improve the website - answer_html: "Got an idea? Please check our enhancement dashboard :
+ answer_html: "Got an idea? Please check our enhancement dashboard :
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.
" + notice_email: "(exemple : monadresse@monmail.com)" your_question: Votre question our_answer: Notre réponse notice_pj_product: Une capture d’écran peut nous aider à identifier plus facilement l’endroit à améliorer. @@ -19,7 +20,7 @@ fr:Si vous souhaitez poser une question pour un problème technique sur le site, utilisez le formulaire ci-dessous. Nous ne pourrons pas vous renseigner sur l’instruction de votre dossier.
" product: question: J’ai une idée d’amélioration pour votre site - answer_html: "Une idée ? Pensez à consulter notre tableau de bord des améliorations :
+ answer_html: "Une idée ? Pensez à consulter notre tableau de bord des améliorations :