demarches-normaliennes/app/views/layouts/_search_dossiers_form.html.haml

11 lines
838 B
Text
Raw Normal View History

2023-02-03 09:17:16 +01:00
#search-modal.fr-header__search.fr-modal{ "aria-label": t('views.users.dossiers.search.search_file') }
.fr-container.fr-container-lg--fluid
%button.fr-btn--close.fr-btn{ "aria-controls" => "search-modal", :title => t('close_modal', scope: [:layouts, :header]) }= t('close_modal', scope: [:layouts, :header])
2023-02-02 16:04:42 +01:00
#search-473.fr-search-bar.fr-search-bar--lg
= form_tag recherche_index_path, method: :get, :role => "search", class: "flex width-100" do
= hidden_field_tag :context, local_assigns[:context]
= label_tag "q", t('views.users.dossiers.search.search_file'), class: 'sr-only'
2023-02-02 16:04:42 +01:00
= text_field_tag "q", "#{@search_terms if @search_terms.present?}", placeholder: t('views.users.dossiers.search.search_file'), class: "fr-input"
%button.fr-btn
= t('views.users.dossiers.search.simple')