2014-11-14 11:58:36 +01:00
|
|
|
.container
|
|
|
|
|
.row
|
|
|
|
|
.col-md-12
|
|
|
|
|
.page-header
|
|
|
|
|
%h1
|
|
|
|
|
Tickets
|
|
|
|
|
%p.lead
|
2015-02-18 14:54:18 +01:00
|
|
|
If you like, support
|
2014-12-05 16:04:34 +01:00
|
|
|
%strong
|
2014-11-14 11:58:36 +01:00
|
|
|
= @conference.title
|
2015-02-18 14:54:18 +01:00
|
|
|
by buying a ticket*
|
2014-11-14 11:58:36 +01:00
|
|
|
=form_tag(conference_ticket_purchases_path, method: :post) do |f|
|
|
|
|
|
%table.table.table-hover
|
|
|
|
|
%thead
|
|
|
|
|
%tr
|
|
|
|
|
%th Ticket
|
|
|
|
|
%th Quantity
|
|
|
|
|
%th Price
|
|
|
|
|
%th Total
|
|
|
|
|
%tbody
|
2014-12-09 15:19:01 +01:00
|
|
|
- @conference.tickets.each do |ticket|
|
|
|
|
|
= render partial: 'ticket', f: f, locals: {ticket: ticket}
|
2014-12-17 16:56:31 +01:00
|
|
|
%tr
|
|
|
|
|
%td
|
|
|
|
|
%td
|
|
|
|
|
%td.col-sm-1.col-md-1.text-center
|
|
|
|
|
%h4
|
|
|
|
|
Total
|
|
|
|
|
%td.col-sm-1.col-md-1.text-center
|
|
|
|
|
%h4
|
|
|
|
|
%strong
|
|
|
|
|
= @conference.tickets.first.price.symbol
|
|
|
|
|
%span{id: 'total_price'}
|
|
|
|
|
0
|
2014-11-14 11:58:36 +01:00
|
|
|
.pull-right
|
2014-12-05 16:04:34 +01:00
|
|
|
.btn-group-vertical
|
|
|
|
|
= button_tag(type: 'submit', class: 'btn btn-success btn-lg') do
|
|
|
|
|
Support
|
|
|
|
|
%i.fa.fa-shopping-cart
|
2016-07-05 00:10:18 +05:30
|
|
|
= link_to 'Continue without a Ticket!', conference_conference_registration_path(@conference.short_title),
|
2014-12-05 16:04:34 +01:00
|
|
|
class: 'btn btn-danger btn-sm'
|
|
|
|
|
.row
|
|
|
|
|
.col-md-13
|
|
|
|
|
%p.text-muted.text-center
|
|
|
|
|
%small
|
2016-07-05 00:10:18 +05:30
|
|
|
* Buying a ticket is not mandatory. Checkout will be at the conference registration.
|