max and min value in user
This commit is contained in:
parent
14624a4f6e
commit
a31337f0f2
2 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@
|
|||
</p>
|
||||
<form action="/change" method="post">
|
||||
<input name="id" type="hidden" value="{{user[0]}}">
|
||||
<input name="change" type="number" lang="nb" step="0.01" max="50000" min="-50000" placeholder="add to balance">
|
||||
<input name="change" type="number" lang="nb" step="0.01" max={{50000-user[2]/100}} min={{min_value-user[2]/100}} placeholder="add to balance">
|
||||
</form>
|
||||
</p>
|
||||
<br></br>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue