Modify 'Search a file' label

This commit is contained in:
Corinne Durrmeyer 2024-05-03 12:27:19 +02:00
parent ac6b552acb
commit 32114c0132
No known key found for this signature in database
GPG key ID: DDC049DDA35585B6
3 changed files with 6 additions and 2 deletions

View file

@ -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

View file

@ -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} »

View file

@ -488,6 +488,8 @@ fr:
edit_dossier_title: "Modifier mon dossier - Vous pouvez modifier votre dossier tant quil nest 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} »