mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Fix ticket total price on each row
This commit is contained in:
parent
87b1aba1e9
commit
0ea8228aa2
1 changed files with 12 additions and 12 deletions
|
|
@ -20,18 +20,18 @@
|
|||
%tbody
|
||||
- @conference.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
|
||||
= @conference.tickets.first.price.symbol
|
||||
%span{id: 'total_price'}
|
||||
0
|
||||
%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
|
||||
.pull-right
|
||||
.btn-group-vertical
|
||||
= button_tag(type: 'submit', class: 'btn btn-success btn-lg') do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue