update attributes wording and styles user search engine
This commit is contained in:
parent
a20ec44841
commit
bbce9ebcd2
3 changed files with 6 additions and 4 deletions
|
@ -10,10 +10,10 @@
|
||||||
.container
|
.container
|
||||||
%h1.page-title.fr-h2= t('views.users.dossiers.index.dossiers')
|
%h1.page-title.fr-h2= t('views.users.dossiers.index.dossiers')
|
||||||
- if current_user.dossiers.count > 2
|
- if current_user.dossiers.count > 2
|
||||||
#search-2.fr-search-bar.fr-search-bar--lg{ role: "search", "aria-label": t('views.users.dossiers.search.search_file') }
|
#search-2.fr-search-bar.fr-search-bar--lg
|
||||||
= form_tag recherche_dossiers_path, method: :get, :role => "search", class: "flex width-100 fr-mb-5w" do
|
= form_tag recherche_dossiers_path, method: :get, :role => "search", class: "flex width-100 fr-mb-5w" do
|
||||||
= label_tag "q", t('views.users.dossiers.search.search_file'), class: 'fr-label'
|
= 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"
|
= text_field_tag "q", "#{@search_terms if @search_terms.present?}", placeholder: t('views.users.dossiers.search.placeholder'), class: "fr-input"
|
||||||
%button.fr-btn
|
%button.fr-btn
|
||||||
= t('views.users.dossiers.search.simple')
|
= t('views.users.dossiers.search.simple')
|
||||||
|
|
||||||
|
|
|
@ -448,7 +448,8 @@ en:
|
||||||
demande:
|
demande:
|
||||||
edit_dossier: "Edit file"
|
edit_dossier: "Edit file"
|
||||||
search:
|
search:
|
||||||
search_file: Search a file
|
placeholder: File number, keywords
|
||||||
|
search_file: Search a file (File number, keywords)
|
||||||
simple: Search
|
simple: Search
|
||||||
secondary_menu: Secondary menu
|
secondary_menu: Secondary menu
|
||||||
index:
|
index:
|
||||||
|
|
|
@ -449,7 +449,8 @@ fr:
|
||||||
demande:
|
demande:
|
||||||
edit_dossier: "Modifier le dossier"
|
edit_dossier: "Modifier le dossier"
|
||||||
search:
|
search:
|
||||||
search_file: Rechercher un dossier
|
placeholder: N° de dossier, mots-clés
|
||||||
|
search_file: Rechercher un dossier (N° de dossier, mots-clés)
|
||||||
simple: Rechercher
|
simple: Rechercher
|
||||||
secondary_menu: Menu secondaire
|
secondary_menu: Menu secondaire
|
||||||
index:
|
index:
|
||||||
|
|
Loading…
Reference in a new issue