yammat/templates/buy.hamlet
2015-10-22 23:57:27 +02:00

16 lines
491 B
Text
Executable file

$doctype 5
<h3>_{MsgPurchaseOf $ beverageIdent bev}
<p>
<ul>
<li>
_{MsgPricePerUnit (beveragePrice bev) (appCurrency $ appSettings master)}
<li>
_{MsgVolume}: #{formatIntVolume (beverageMl bev)}
<form method=post enctype=#{enctype}>
^{buyWidget}
<div .plusbtn>
<button .btn .btn-default onclick="crmnt( document.getElementById('crement'), 1 )">_{MsgIncrement}
<button .btn .btn-default onclick="crmnt( document.getElementById('crement'), -1 )">_{MsgDecrement}