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

10 lines
778 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
2023-01-26 14:11:21 +01:00
= form_tag "#{search_endpoint}", method: :get, :role => "search", class: "flex width-100" do
= label_tag "q", t('views.users.dossiers.search.search_file'), class: 'fr-label'
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')