yammat/templates/upstock.hamlet
Wolf c5b9725072 Update upstock.hamlet
centralizing de/increment js-func
2015-04-12 19:30:12 +02:00

13 lines
425 B
Text

$doctype 5
<h3>_{MsgStockUp $ beverageIdent bev}
<p>
_{MsgCurrentStock}: #{beverageAmount bev}
<form method=post enctype=#{enctype}>
^{upstockWidget}
<div>
<input type=submit value="_{MsgFillup}">
<input onclick="crmnt( document.getElementById('hident2'), 1 )" value="_{MsgIncrement}" type="button">
<input onclick="crmnt( document.getElementById('hident2'), -1 )" value="_{MsgDecrement}" type="button">