<% ob.choices.forEach(choice => { %> <%= choice %> <% }) %> <% if (ob.errors['surcharge']) print(ob.formErrorTmpl({ errors: ob.errors['surcharge'] })) %> <%= ob.calculateTotalPrice(ob.surcharge) %> <% if (ob.errors['productID']) print(ob.formErrorTmpl({ errors: ob.errors['productID'] })) %> <% if (ob.errors['quantity']) print(ob.formErrorTmpl({ errors: ob.errors['quantity'] })) %>
>
<% }); %}