update ticket purchase and conference registration views for new structure
This commit is contained in:
parent
14594c7a4d
commit
b202984fa9
3 changed files with 28 additions and 28 deletions
|
|
@ -9,7 +9,7 @@
|
|||
= markdown(ticket.description)
|
||||
%td.col-sm-1.col-md-1
|
||||
- if ticket.bought?(current_user)
|
||||
= text_field_tag("tickets[][#{ticket.id}]", ticket.quantity_bought_by(current_user),
|
||||
= text_field_tag("tickets[][#{ticket.id}]", 0,
|
||||
type: 'number', min: 0, class: "form-control quantity", 'data-id' => ticket.id)
|
||||
- else
|
||||
= text_field_tag("tickets[][#{ticket.id}]", 0, type: 'number', min: 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue