blob: fb7246f9a7bd59b0d62b03d54dba89415a89bf29 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
%table.table.table-striped
%thead
%tr
%th= t('whitelists.index.name')
%th= t('whitelists.index.phone_numbers')
%tbody
- for whitelist in whitelists
%tr
%td= whitelist.name || '-'
%td
= render 'phone_numbers/listing', :phone_numbers => whitelist.phone_numbers
%br
= render :partial => 'shared/create_link', :locals => {:parent => whitelist, :child_class => PhoneNumber, :short_link => true}
=render :partial => 'shared/index_view_edit_destroy_part', :locals => {:parent => whitelist.whitelistable, :child => whitelist}
|