diff options
author | Peter Kozak <spag@golwen.net> | 2013-03-04 05:28:26 -0500 |
---|---|---|
committer | Peter Kozak <spag@golwen.net> | 2013-03-04 05:28:26 -0500 |
commit | 86e4f6f2241fee9597d7c1a7de1ff585634da4c5 (patch) | |
tree | 75f825b0004ff95ba1d8aea319ff2e6c0570b1df /app/views | |
parent | 92b79f7f1f43a9c95fdbb9df2a85b08eefb6c8d8 (diff) |
display group item
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/group_memberships/_index_core.html.haml | 3 | ||||
-rw-r--r-- | app/views/group_memberships/show.html.haml | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/app/views/group_memberships/_index_core.html.haml b/app/views/group_memberships/_index_core.html.haml index beeefc9..31a9050 100644 --- a/app/views/group_memberships/_index_core.html.haml +++ b/app/views/group_memberships/_index_core.html.haml @@ -2,10 +2,11 @@ %tr %th= t('group_memberships.index.item_type') %th= t('group_memberships.index.item_id') - + %th= t('group_memberships.index.item') - for group_membership in group_memberships %tr %td= group_membership.item_type %td= group_membership.item_id + %td= group_membership.item =render :partial => 'shared/index_view_edit_destroy_part', :locals => {:parent => group_membership.group, :child => group_membership} diff --git a/app/views/group_memberships/show.html.haml b/app/views/group_memberships/show.html.haml index 0875f0b..362b25f 100644 --- a/app/views/group_memberships/show.html.haml +++ b/app/views/group_memberships/show.html.haml @@ -7,4 +7,8 @@ %strong= t('group_memberships.show.item_id') + ":" = @group_membership.item_id +%p + %strong= t('group_memberships.show.item') + ":" + = @group_membership.item + = render :partial => 'shared/show_edit_destroy_part', :locals => { :parent => @group, :child => @group_membership } |