Modify id and for values to avoid conflict due to duplicate identifiers
This commit is contained in:
parent
6f1b41b1a7
commit
df489cc688
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +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: 'fr-label'
|
||||
= 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', for: 'procedure_select'
|
||||
= f.select :procedure_id, options_for_select(@procedures_for_select, params[:procedure_id]), { prompt: t('.procedures.prompt') }, class: 'fr-select', id: 'procedure_select'
|
||||
|
|
Loading…
Reference in a new issue