diff --git a/app/views/users/dossiers/index.html.haml b/app/views/users/dossiers/index.html.haml index b481b94c3..12172d3b9 100644 --- a/app/views/users/dossiers/index.html.haml +++ b/app/views/users/dossiers/index.html.haml @@ -13,8 +13,8 @@ #search-2.fr-search-bar = form_tag dossiers_path, method: :get, :role => "search", class: "flex width-100 fr-mb-5w" do = hidden_field_tag :procedure_id, params[:procedure_id] - = label_tag "q", t('views.users.dossiers.search.search_file'), class: 'fr-label' - = text_field_tag "q", "#{@search_terms if @search_terms.present?}", placeholder: t('views.users.dossiers.search.search_file'), class: "fr-input" + = label_tag "q", t('views.users.dossiers.search.label'), class: 'fr-label' + = text_field_tag "q", "#{@search_terms if @search_terms.present?}", placeholder: t('views.users.dossiers.search.prompt'), class: "fr-input" %button.fr-btn.fr-btn--sm = t('views.users.dossiers.search.simple') - if @procedures_for_select.size > 1 diff --git a/config/locales/en.yml b/config/locales/en.yml index ed95ea081..c8810859b 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -485,6 +485,8 @@ en: edit_dossier_title: "Edit my file - You can modify your file as long as it has not been sent for processing" search: search_file: Search a file (File number, keywords) + prompt: (File number, last name / first name, keywords) + label: Search a file simple: Search result_term_title: Search result for « %{search_terms} » result_procedure_title: and procedure « %{procedure_libelle} » diff --git a/config/locales/fr.yml b/config/locales/fr.yml index f9f16fcee..a86999cf0 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -488,6 +488,8 @@ fr: edit_dossier_title: "Modifier mon dossier - Vous pouvez modifier votre dossier tant qu’il n’est pas passé en instruction" search: search_file: Rechercher un dossier (N° de dossier, mots-clés) + prompt: (N° de dossier, nom / prénom, mots-clés) + label: Rechercher un dossier simple: Rechercher result_term_title: Résultat de la recherche pour « %{search_terms} » result_procedure_title: et pour la procédure « %{procedure_libelle} »