mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
26 lines
681 B
Text
26 lines
681 B
Text
= 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
|
|
- tickets.each do |ticket|
|
|
= render partial: 'ticket', f: f, locals: { ticket: ticket }
|
|
%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
|
|
%span{ id: 'total_price' }
|
|
0
|
|
%p
|
|
= button_tag(type: 'submit', class: 'btn btn-success btn-lg pull-right') do
|
|
Support
|
|
%i.fa-solid.fa-cart-shopping
|