Merge pull request #9096 from demarches-simplifiees/8588-search-engine-footer-optimization
8588 search engine footer optimization
This commit is contained in:
commit
8de63dfdd0
4 changed files with 5 additions and 3 deletions
|
@ -10,7 +10,7 @@
|
|||
.container
|
||||
%h1.page-title.fr-h2= t('views.users.dossiers.index.dossiers')
|
||||
- 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
|
||||
= 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"
|
||||
|
|
|
@ -18,3 +18,5 @@
|
|||
|
||||
= f.hidden_field :dossier, value: @dossier.id
|
||||
= f.submit t('.submit'), class: 'fr-btn'
|
||||
- content_for :footer do
|
||||
= render partial: 'users/dossiers/index_footer'
|
||||
|
|
|
@ -448,7 +448,7 @@ en:
|
|||
demande:
|
||||
edit_dossier: "Edit file"
|
||||
search:
|
||||
search_file: Search a file
|
||||
search_file: Search a file (File number, keywords)
|
||||
simple: Search
|
||||
secondary_menu: Secondary menu
|
||||
index:
|
||||
|
|
|
@ -449,7 +449,7 @@ fr:
|
|||
demande:
|
||||
edit_dossier: "Modifier le dossier"
|
||||
search:
|
||||
search_file: Rechercher un dossier
|
||||
search_file: Rechercher un dossier (N° de dossier, mots-clés)
|
||||
simple: Rechercher
|
||||
secondary_menu: Menu secondaire
|
||||
index:
|
||||
|
|
Loading…
Reference in a new issue