summaryrefslogtreecommitdiff
path: root/app/views/user_groups/show.html.haml
blob: 920f772f6328e88570fab5f2cd81a1df32a3017b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
- content_for :title, t("user_groups.show.page_title")

%table{:class => 'table table-striped'}
  %tbody
    %tr
      %td
        %strong= t('user_groups.show.name') + ":"
      %td
        = @user_group.name
    %tr
      %td
        %strong= t('user_groups.show.description') + ":"
      %td
        = @user_group.description
    %tr
      %td
        %strong= t('user_groups.show.tenant_id') + ":"
      %td
        = @user_group.tenant

= render :partial => 'shared/show_edit_destroy_part', :locals => { :parent => @user_group.tenant, :child => @user_group }

%h2=t("user_group_memberships.index.page_title")

- if @user_group.user_group_memberships.any?
  = render "user_group_memberships/index_core", :user_group_memberships => @user_group.user_group_memberships

= render :partial => 'shared/create_link', :locals => {:parent => @user_group, :child_class => UserGroupMembership}