Add missing partial and wildcard search on /admin/epp_logs

This commit is contained in:
Thiago Youssef 2022-03-29 11:40:27 +03:00
parent e588344332
commit 1106893a87
2 changed files with 8 additions and 10 deletions

View file

@ -22,12 +22,12 @@
.col-md-3
.form-group
= f.label :api_user
= f.search_field :api_user_name_cont, class: 'form-control', placeholder: t(:api_user), autocomplete: 'off'
= f.search_field :api_user_name_matches, value: params[:q][:api_user_name_matches], class: 'form-control', placeholder: t(:api_user), autocomplete: 'off'
.row
.col-md-3
.form-group
= f.label :registrar
= f.select :api_user_registrar_cont, Registrar.all.map { |x| [x, x.name] }, { include_blank: true }, class: 'form-control', placeholder: t(:choose)
= f.select :api_user_registrar_matches, 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)