Display roles in registration list
This commit is contained in:
parent
10ef898a0d
commit
7c38622e8f
2 changed files with 25 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue