Merge pull request #572 from ChrisBr/tickets
Fix ticket total price on each row
This commit is contained in:
commit
5d2d728c9e
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