Display 'Filter by procedure' label

This commit is contained in:
Corinne Durrmeyer 2024-05-03 12:42:13 +02:00
parent 32114c0132
commit 03409a798f
No known key found for this signature in database
GPG key ID: DDC049DDA35585B6

View file

@ -1,5 +1,4 @@
= form_with(url: dossiers_path, method: :get, data: { controller: 'autosubmit' } ) do |f|
= f.hidden_field :q, value: params[:q], id: nil
= f.label :procedure_id, t('.procedures.label'), class: 'sr-only'
.fr-input-group
= f.select :procedure_id, options_for_select(@procedures_for_select, params[:procedure_id]), { prompt: t('.procedures.prompt') }, class: 'fr-select'
= f.label :procedure_id, t('.procedures.label'), class: 'fr-label'
= f.select :procedure_id, options_for_select(@procedures_for_select, params[:procedure_id]), { prompt: t('.procedures.prompt') }, class: 'fr-select'