* master: (61 commits) Replace more Commercials with Materials Rename more commericals to materials UI -- Repalce "Commerials" with "Materials". Re-order Conference Associations Cleanup CSS add Snap! style block attachments hide venue link if there is no venue link No dropshadow Text with drop shadow for now Tidy up the look of lodging panels Show reg status for tickets. Tweak CSS, fix loding order Move the venue description to below the map. Update lodging styling. Add description for venu when map is shown. CSS tweaks... Make the edit form not so wide. Support markdown in more fields Cleanup CSS ordering, fix coloring for navdropdowns dumb...fix order of link_to args ARRRGHHH, another typo...same line... fix typo ...
50 lines
1.5 KiB
Text
50 lines
1.5 KiB
Text
.container
|
|
.row
|
|
.col-md-12
|
|
.page-header
|
|
%h1
|
|
Tickets
|
|
%p.lead
|
|
Please choose your tickets for
|
|
%strong
|
|
= @conference.title
|
|
= form_tag(conference_ticket_purchases_path, method: :post) do |f|
|
|
%table.table.table-hover
|
|
%thead
|
|
%tr
|
|
%th Ticket
|
|
%th Registration?
|
|
%th Quantity
|
|
%th Price
|
|
%th Total
|
|
%tbody
|
|
- @conference.tickets.visible.each do |ticket|
|
|
= render 'ticket', f: f, ticket: ticket
|
|
%tr
|
|
%td
|
|
%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
|
|
.pull-right
|
|
.btn-group-vertical
|
|
= button_tag(type: 'submit', class: 'btn btn-success btn-lg') do
|
|
Continue
|
|
%i.fa.fa-shopping-cart
|
|
= link_to 'Back to registration',
|
|
conference_conference_registration_path(@conference.short_title),
|
|
class: 'btn btn-default btn-sm'
|
|
- if @conference.tickets.for_registration.any?
|
|
.row
|
|
.col-md-13
|
|
%p.text-muted.text-center
|
|
%small
|
|
Getting a registration ticket is mandatory. Your participation
|
|
will not be valid until you get a registration ticket.
|