Select2 on peer
This commit is contained in:
parent
eb26d14e40
commit
e6914babee
1 changed files with 4 additions and 3 deletions
|
@ -41,13 +41,14 @@
|
|||
.row
|
||||
.col-md-4
|
||||
.input-listen{ 'data-input-type': 'text', 'data-filter-name': 'Issuer' }
|
||||
= grouped_collection_select :nil, :nil, [User, Client], :all, :name, :name, :name,
|
||||
= grouped_collection_select nil, nil, [User, Client], :all, :name, :name, :name,
|
||||
{ include_blank: true },
|
||||
{ data: { placeholder: "Filter on Issuer" }, class: "select2-selector form-control" }
|
||||
.col-md-4
|
||||
.input-listen{ 'data-input-type': 'text', 'data-filter-name': 'Peer' }
|
||||
%input{type: 'text', placeholder: 'Filter on Peer',
|
||||
class: "form-control" }
|
||||
= select_tag nil,
|
||||
options_from_collection_for_select(User.all.order(:name), :name, :name),
|
||||
include_blank: true, class: "select2-selector form-control", data: { placeholder: "Filter on Peer" }
|
||||
.col-md-4
|
||||
.input-listen{ 'data-input-type': 'text', 'data-filter-name': 'Message' }
|
||||
%input{type: 'text', placeholder: 'Filter on Message',
|
||||
|
|
Loading…
Reference in a new issue