mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 17:01:44 +02:00
Story#105314040 filter domains under contacts
This commit is contained in:
parent
26b0ca7cdd
commit
ae5e5abfbc
2 changed files with 25 additions and 8 deletions
|
@ -1,6 +1,16 @@
|
|||
- domains = @contact.all_domains(page: params[:domain_page], per: 20, params: params)
|
||||
#contacts.panel.panel-default
|
||||
.panel-heading= t(:domains)
|
||||
.panel-heading
|
||||
.pull-left
|
||||
= t(:domains)
|
||||
.pull-right
|
||||
= form_tag request.path, method: :get do
|
||||
= select_tag :domain_filter, options_for_select(%w(Registrant AdminDomainContact TechDomainContact), selected: params[:domain_filter]),
|
||||
include_blank: true, class: 'form-control2 selectize2'
|
||||
%button.btn.btn-primary
|
||||
%span.glyphicon.glyphicon-search
|
||||
.clearfix
|
||||
|
||||
.table-responsive
|
||||
%table.table.table-hover.table-bordered.table-condensed
|
||||
%thead
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue