mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 09:21:43 +02:00
added dropdown for registrar fields
This commit is contained in:
parent
4fa6135279
commit
20ea2ef373
4 changed files with 7 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
.col-md-3
|
||||
.form-group
|
||||
= f.label :registrar
|
||||
= f.search_field :api_user_registrar_cont, class: 'form-control', placeholder: t(:registrar_name), autocomplete: 'off'
|
||||
= f.select :api_user_registrar_cont, Registrar.all.map { |x| [x, x.name] }, { include_blank: true }, class: 'form-control', placeholder: t(:choose)
|
||||
.col-md-3
|
||||
.form-group
|
||||
= f.label t(:created_after)
|
||||
|
|
|
@ -25,7 +25,8 @@
|
|||
.col-md-3
|
||||
.form-group
|
||||
= f.label :registrar
|
||||
= f.search_field :api_user_registrar_cont, class: 'form-control', placeholder: t(:registrar_name), autocomplete: 'off'
|
||||
= f.select :api_user_registrar_cont, Registrar.all.map { |x| [x, x.name] }, { include_blank: true }, class: 'form-control', placeholder: t(:choose)
|
||||
-# = f.search_field :api_user_registrar_cont, class: 'form-control', placeholder: t(:registrar_name), autocomplete: 'off'
|
||||
.col-md-3
|
||||
.form-group
|
||||
= f.label t(:created_after)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue