summaryrefslogtreecommitdiff
path: root/app/views/phone_sip_accounts/_index_core.html.haml
blob: 3656ad67ddc5fdb4ee6eedd9aac3d8292086aca4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
%table.table.table-striped
  %thead
    %tr
      %th= t('phone_sip_accounts.index.phone_id')
      %th= t('phone_sip_accounts.index.sip_account_id')
      %th= t('phone_sip_accounts.index.position')

  %tbody
    - for phone_sip_account in phone_sip_accounts
      %tr
        %td= phone_sip_account.phone
        %td= phone_sip_account.sip_account
        %td= phone_sip_account.position
        =render :partial => 'shared/index_view_edit_destroy_part', :locals => {:parent => phone_sip_account.phone, :child => phone_sip_account}