added dropdown for registrar fields

This commit is contained in:
dinsmol 2021-07-30 21:27:03 +03:00
parent 4fa6135279
commit 20ea2ef373
4 changed files with 7 additions and 6 deletions

View file

@ -15,7 +15,7 @@
.col-md-3
.form-group
= label_tag t(:registrar_name)
= f.search_field :registrar, value: params[:q][:registrar], class: 'form-control', placeholder: t('.registrant')
= f.select :whodunnit, Registrar.all.map { |x| [x, x.name] }, { include_blank: true }, class: 'form-control', placeholder: t('.registrant')
.col-md-3
.form-group
= label_tag :action