summaryrefslogtreecommitdiff
path: root/app/views/sim_cards/_index_core.html.haml
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-02-15 14:49:43 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-02-15 14:49:43 +0100
commit72a56d20496e58a1d1debc3a859d40aa73e246b5 (patch)
treec16baf628633205b2e664f86f2e0038f3ee3b097 /app/views/sim_cards/_index_core.html.haml
parent124a421b19e08447fa790b65cc969dadd7408539 (diff)
parent3d11d0a3a047a12bfd40b61252e269cabac76225 (diff)
Merge branch 'sim_card' into develop
Diffstat (limited to 'app/views/sim_cards/_index_core.html.haml')
-rw-r--r--app/views/sim_cards/_index_core.html.haml16
1 files changed, 16 insertions, 0 deletions
diff --git a/app/views/sim_cards/_index_core.html.haml b/app/views/sim_cards/_index_core.html.haml
new file mode 100644
index 0000000..c36b22b
--- /dev/null
+++ b/app/views/sim_cards/_index_core.html.haml
@@ -0,0 +1,16 @@
+%table.table.table-striped
+ %tr
+ %th= t('sim_cards.index.sip_account_id')
+ %th= t('sip_accounts.index.phone_numbers')
+ %th= t('sim_cards.index.auth_key')
+ %th= t('sim_cards.index.state')
+ %th
+
+ - for sim_card in sim_cards
+ %tr
+ %td= sim_card.sip_account
+ %td
+ = render 'phone_numbers/listing', :phone_numbers => sim_card.sip_account.phone_numbers.order(:number)
+ %td= sim_card.auth_key
+ %td= sim_card.state
+ =render :partial => 'shared/index_view_edit_destroy_part', :locals => {:parent => @parent, :child => sim_card} \ No newline at end of file