yammat/templates/buy.hamlet
2015-04-24 12:28:45 +02:00

17 lines
543 B
Text

$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>
<input type=submit value="_{MsgPurchase}">
<input onclick="crmnt( document.getElementById('crement'), 1 )" value="_{MsgIncrement}" type="button">
<input onclick="crmnt( document.getElementById('crement'), -1 )" value="_{MsgDecrement}" type="button">