summaryrefslogtreecommitdiff
path: root/app/views/phone_sip_accounts/_index_core.html.haml
blob: 89afb2ba91511d10037718e66e65feeeda1f5301 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
%table
  %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')

  - reset_cycle
  - for phone_sip_account in phone_sip_accounts
    %tr{:class => cycle('odd', 'even')}
      %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}