yammat/templates/buy.hamlet

18 lines
543 B
Plaintext
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>
<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">