summaryrefslogtreecommitdiff
path: root/app/views/tenants/_user_groups_table.html.haml
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-22 12:16:29 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-22 12:16:29 +0100
commitee6b680da282d9fe4d630ba27d9f9c646eed24dc (patch)
tree126fe12f2fadc2418177c940dfc632c75822044f /app/views/tenants/_user_groups_table.html.haml
parent186ce80e7b22920ea7d54c579f635eec2d1ee98f (diff)
Fix for #117
Diffstat (limited to 'app/views/tenants/_user_groups_table.html.haml')
-rw-r--r--app/views/tenants/_user_groups_table.html.haml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/tenants/_user_groups_table.html.haml b/app/views/tenants/_user_groups_table.html.haml
new file mode 100644
index 0000000..61b3e3d
--- /dev/null
+++ b/app/views/tenants/_user_groups_table.html.haml
@@ -0,0 +1,4 @@
+- if @tenant.user_groups.any?
+ %h2= t("user_groups.index.page_title")
+ = render "user_groups/index_core", :user_groups => tenant.user_groups
+ = render :partial => 'shared/create_link', :locals => {:parent => tenant, :child_class => UserGroup}