show invited users in booths#show

This commit is contained in:
Rahul 2019-08-16 14:27:22 +05:30 committed by rahul2240
parent af0799990c
commit 7fc97a0655
2 changed files with 23 additions and 0 deletions

View file

@ -47,6 +47,17 @@
= responsibles.email
)
= " , " unless i == @booth.responsibles.length - 1
%tr
%td.col-md-2
%b Invited Responsibles
%td
- @booth.invited_responsibles.each_with_index do |responsibles, i|
.responsibles
= link_to responsibles.name, admin_user_path(responsibles)
(
= responsibles.email
)
= " , " unless i == @booth.invited_responsibles.length - 1
%tr
%td.col-md-2
%b Submitted on

View file

@ -49,6 +49,18 @@
= responsibles.email
)
= ", " unless i == @booth.responsibles.length - 1
%tr
%td.col-md-2
%b Invited Responsibles
%td
- @booth.invited_responsibles.each_with_index do |responsibles, i|
.responsibles
= link_to responsibles.name, user_path(responsibles)
- if responsibles.email_public
(
= responsibles.email
)
= ", " unless i == @booth.invited_responsibles.length - 1
%tr
%td.col-md-2
%b Submitted on