summaryrefslogtreecommitdiff
path: root/app/views/tenants/_table_of_sim_card_providers.html.haml
diff options
context:
space:
mode:
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.haml7
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}