mirror of
https://github.com/internetee/registry.git
synced 2025-08-06 09:45:11 +02:00
Add pattern matching for domain name field in search #2122
This commit is contained in:
parent
31d19ff64e
commit
4b9e082712
3 changed files with 12 additions and 3 deletions
|
@ -2,12 +2,12 @@
|
|||
|
||||
.row
|
||||
.col-md-12
|
||||
= search_form_for [:admin, @q], html: { style: 'margin-bottom: 0;', class: 'js-form' } do |f|
|
||||
= search_form_for [:admin, @q], html: { style: 'margin-bottom: 0;', class: 'js-form', autocomplete: 'off' } do |f|
|
||||
.row
|
||||
.col-md-3
|
||||
.form-group
|
||||
= f.label :name
|
||||
= f.search_field :name_cont, class: 'form-control', placeholder: t(:name)
|
||||
= f.search_field :name_matches, value: params[:q][:name_matches], class: 'form-control', placeholder: t(:name)
|
||||
.col-md-3
|
||||
.form-group
|
||||
= f.label t(:registrant_ident)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue