Merge pull request #918 from matthin/master
Display roles in registration list
This commit is contained in:
commit
39a850cc39
1 changed files with 3 additions and 0 deletions
|
|
@ -28,6 +28,9 @@
|
|||
= registration.id
|
||||
%td
|
||||
= registration.name
|
||||
- registration.user.roles.each do |role|
|
||||
- if role.resource == @conference
|
||||
%span.label.label-info= role.name.titleize
|
||||
%td
|
||||
= registration.email
|
||||
%td
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue