diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-02-15 14:49:16 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-02-15 14:49:16 +0100 |
commit | 3d11d0a3a047a12bfd40b61252e269cabac76225 (patch) | |
tree | c16baf628633205b2e664f86f2e0038f3ee3b097 /app/views/tenants/_table_of_sim_card_providers.html.haml | |
parent | 124a421b19e08447fa790b65cc969dadd7408539 (diff) |
Basic structure for sim_cards and sim_card_providers.
Diffstat (limited to 'app/views/tenants/_table_of_sim_card_providers.html.haml')
-rw-r--r-- | app/views/tenants/_table_of_sim_card_providers.html.haml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/tenants/_table_of_sim_card_providers.html.haml b/app/views/tenants/_table_of_sim_card_providers.html.haml new file mode 100644 index 0000000..135bb65 --- /dev/null +++ b/app/views/tenants/_table_of_sim_card_providers.html.haml @@ -0,0 +1,7 @@ +- cache(['tenant_show_table_of_sim_card_providers', I18n.locale, SimCardProvider.count, SimCardProvider.reorder(:updated_at).last]) do + -# SIM card providers + -# + %h2= t('sim_card_providers.index.page_title') + - if SimCardProvider.any? + = render "sim_card_providers/index_core", :sim_card_providers => SimCardProvider.all + = render :partial => 'shared/create_link', :locals => {:child_class => SimCardProvider} |