Add (admin-only) tickets via 'visibile' attribute [migration]
(cherry picked from commit ce0db3d7a736e7bcde480721986dbfb4a82aa083)
This commit is contained in:
parent
6e276b2787
commit
199bc00c08
15 changed files with 73 additions and 9 deletions
|
|
@ -19,8 +19,8 @@
|
|||
%th Price
|
||||
%th Total
|
||||
%tbody
|
||||
- @conference.tickets.each do |ticket|
|
||||
= render 'ticket', f: f, ticket: ticket
|
||||
- @conference.tickets.visible.each do |ticket|
|
||||
= render partial: 'ticket', f: f, locals: {ticket: ticket}
|
||||
%tr
|
||||
%td
|
||||
- if @conference.tickets.for_registration.any?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue