mirror of
https://github.com/internetee/registry.git
synced 2025-07-20 17:55:55 +02:00
Search domains WIP #2122
This commit is contained in:
parent
430f92b3c9
commit
0bdb0f17b5
2 changed files with 30 additions and 7 deletions
|
@ -2,16 +2,36 @@
|
|||
|
||||
.row
|
||||
.col-md-12
|
||||
= search_form_for [:admin, @q], html: { class: 'form-horizontal' } do |f|
|
||||
.col-md-11
|
||||
= search_form_for [:admin, @q], html: { style: 'margin-bottom: 0;', class: 'js-form' } do |f|
|
||||
.row
|
||||
.col-md-4
|
||||
.form-group
|
||||
= f.search_field :name_cont, class: 'form-control'
|
||||
.col-md-1.text-right.text-center-xs
|
||||
= f.label :name
|
||||
= f.search_field :name_cont, class: 'form-control', placeholder: t(:name)
|
||||
.col-md-4
|
||||
.form-group
|
||||
= f.label t(:registrar)
|
||||
= f.select :registrar_id_eq, Registrar.all.map { |x| [x, x.id] }, {}, class: 'form-control selectize', placeholder: t(:choose)
|
||||
.col-md-4
|
||||
.form-group
|
||||
= f.label t(:registrant_ident)
|
||||
= f.search_field :registrant_ident_eq, class: 'form-control', placeholder: t(:registrant_ident)
|
||||
.row
|
||||
.col-md-3
|
||||
.form-group
|
||||
= f.label t(:valid_to_from)
|
||||
= f.search_field :valid_to_gteq, class: 'form-control datepicker', placeholder: t(:valid_to_from), autocomplete: 'off'
|
||||
.col-md-3
|
||||
.form-group
|
||||
= f.label t(:valid_to_until)
|
||||
= f.search_field :valid_to_lteq, class: 'form-control datepicker', placeholder: t(:valid_to_until), autocomplete: 'off'
|
||||
.col-md-3{style: 'padding-top: 25px;'}
|
||||
%button.btn.btn-primary
|
||||
|
||||
%span.glyphicon.glyphicon-search
|
||||
|
||||
%button.btn.btn-default.js-reset-form
|
||||
= t(:clear_fields)
|
||||
%hr
|
||||
.row
|
||||
.col-md-12
|
||||
|
|
|
@ -886,3 +886,6 @@ en:
|
|||
active_price_for_this_operation_is: 'Active price for this operation is %{price}'
|
||||
active_price_missing_for_this_operation: 'Active price missing for this operation!'
|
||||
log_out_: 'Log out'
|
||||
valid_to_from: 'Valid to from'
|
||||
valid_to_until: 'Valid to until'
|
||||
registrant_ident: 'Registrant ident'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue