Add (admin-only) tickets via 'visibile' attribute [migration]
(cherry picked from commit ce0db3d7a736e7bcde480721986dbfb4a82aa083)
This commit is contained in:
parent
1fcd5c68c5
commit
26f0377c76
15 changed files with 56 additions and 10 deletions
|
|
@ -5,7 +5,7 @@
|
|||
%h1
|
||||
Tickets
|
||||
%p.lead
|
||||
Please choose your tickets for
|
||||
Please choose your tickets for
|
||||
%strong
|
||||
= @conference.title
|
||||
here*
|
||||
|
|
@ -19,7 +19,7 @@
|
|||
%th Price
|
||||
%th Total
|
||||
%tbody
|
||||
- @conference.tickets.each do |ticket|
|
||||
- @conference.tickets.visible.each do |ticket|
|
||||
= render partial: 'ticket', f: f, locals: {ticket: ticket}
|
||||
%tr
|
||||
%td
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue