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
|
|
@ -1,3 +1,4 @@
|
|||
<<<<<<< HEAD
|
||||
= form_for(@ticket, url: (@ticket.new_record? ? admin_conference_tickets_path : admin_conference_ticket_path(@conference.short_title, @ticket))) do |f|
|
||||
.form-group
|
||||
= f.label :title
|
||||
|
|
@ -21,5 +22,8 @@
|
|||
%label
|
||||
= f.check_box :registration_ticket
|
||||
A registration ticket is with which user register for the conference.
|
||||
%label
|
||||
= f.check_box :visible
|
||||
Only visible tickets are available to registrants. Non-visible tickets can only be managed by Admins.
|
||||
%p.text-right
|
||||
= f.submit nil, class: 'btn btn-primary'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue