summaryrefslogtreecommitdiff
path: root/app/views/tenants/_user_groups_table.de.html.haml
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-19 08:53:02 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-19 08:53:02 +0100
commita4c2b5b00c074d8861ef313f672032611d662fff (patch)
tree54c6239d2fc18e40b5e78e2dfbbc6e399686c86e /app/views/tenants/_user_groups_table.de.html.haml
parent68df952403f7ce468c1e7f928171d880cd59ede0 (diff)
Refactoring.
Diffstat (limited to 'app/views/tenants/_user_groups_table.de.html.haml')
-rw-r--r--app/views/tenants/_user_groups_table.de.html.haml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/tenants/_user_groups_table.de.html.haml b/app/views/tenants/_user_groups_table.de.html.haml
new file mode 100644
index 0000000..61b3e3d
--- /dev/null
+++ b/app/views/tenants/_user_groups_table.de.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}