2022-07-22 15:40:22 +02:00
|
|
|
= form_tag(search_admin_procedures_path, data: { turbo: true }, method: :post, class: 'form') do
|
|
|
|
= label_tag :query, 'Rechercher une procédure'
|
|
|
|
|
|
|
|
.notice
|
|
|
|
%p Entrez au minimum 3 lettres
|
|
|
|
|
|
|
|
|
|
|
|
= text_field_tag :query, params[:query], required: true, placeholder: 'politique de la ville', minlength: "3"
|
|
|
|
|
2022-10-06 22:42:13 +02:00
|
|
|
= submit_tag 'Rechercher', class: 'fr-btn'
|
2022-07-22 15:40:22 +02:00
|
|
|
|
|
|
|
= render Procedure::ResultsComponent.new(grouped_procedures: @grouped_procedures)
|