050b4f257f
touch in-/decrement
14 lines
488 B
Text
14 lines
488 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="e=document.getElementById('hident2');e.value=parseInt(e.value)+1;" value="_{MsgIncrement}" type="button">
|
|
<input onclick="e=document.getElementById('hident2');e.value=(parseInt(e.value)>=1)?parseInt(e.value)-1:0;" value="_{MsgDecrement}" type="button">
|
|
|