Display roles in registration list

This commit is contained in:
Justin Harrison 2016-03-26 13:01:16 -04:00
parent 10ef898a0d
commit 7c38622e8f
2 changed files with 25 additions and 0 deletions

View file

@ -28,6 +28,10 @@
= registration.id
%td
= registration.name
- @conference.roles.each do |role|
- role.users.each do |user|
- if user == registration.user
%span.label.label-info= role.name.titleize
%td
= registration.email
%td