Skip to content

Commit

Permalink
Fix rsvp on dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
adambutler committed Jan 12, 2015
1 parent 3d11ab2 commit 67c7280
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/views/admin/admin/dashboard.haml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@
- @groups.each do |group|
%tr
%td= group.title
%td= group.rsvp
%td
- group.guests.each do |guest|
= guest.rsvp ? "Yes" : "No"
%td
= link_to "edit", edit_admin_event_group_path(@event, group)
= link_to "delete", admin_event_group_path(@event, group), data: { confirm: "Are you sure you want to delete this group of guests?" }, method: :delete
Expand Down

0 comments on commit 67c7280

Please sign in to comment.