mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 10:16:01 +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
|
.row
|
||||||
.col-md-12
|
.col-md-12
|
||||||
= search_form_for [:admin, @q], html: { class: 'form-horizontal' } do |f|
|
= search_form_for [:admin, @q], html: { style: 'margin-bottom: 0;', class: 'js-form' } do |f|
|
||||||
.col-md-11
|
.row
|
||||||
.form-group
|
.col-md-4
|
||||||
= f.search_field :name_cont, class: 'form-control'
|
.form-group
|
||||||
.col-md-1.text-right.text-center-xs
|
= f.label :name
|
||||||
.form-group
|
= 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
|
%button.btn.btn-primary
|
||||||
|
|
||||||
%span.glyphicon.glyphicon-search
|
%span.glyphicon.glyphicon-search
|
||||||
|
|
||||||
|
%button.btn.btn-default.js-reset-form
|
||||||
|
= t(:clear_fields)
|
||||||
%hr
|
%hr
|
||||||
.row
|
.row
|
||||||
.col-md-12
|
.col-md-12
|
||||||
|
|
|
@ -886,3 +886,6 @@ en:
|
||||||
active_price_for_this_operation_is: 'Active price for this operation is %{price}'
|
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!'
|
active_price_missing_for_this_operation: 'Active price missing for this operation!'
|
||||||
log_out_: 'Log out'
|
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