summaryrefslogtreecommitdiff
path: root/app/views/phone_sip_accounts/_index_core.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/phone_sip_accounts/_index_core.html.haml')
-rw-r--r--app/views/phone_sip_accounts/_index_core.html.haml13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/views/phone_sip_accounts/_index_core.html.haml b/app/views/phone_sip_accounts/_index_core.html.haml
new file mode 100644
index 0000000..89afb2b
--- /dev/null
+++ b/app/views/phone_sip_accounts/_index_core.html.haml
@@ -0,0 +1,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} \ No newline at end of file