2024-09-18 20:25:50 +00:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block title %}
|
|
|
|
transfare
|
|
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<form action="/api/transfare" method="post">
|
|
|
|
<p>
|
|
|
|
<select name="transfarefrom">
|
|
|
|
<option value="">Select the user to transfare from</option>
|
|
|
|
{% for user in user_list %}
|
|
|
|
<option value={{user[0]}}>{{user[1]}}</option>
|
|
|
|
{% endfor %}
|
|
|
|
</select>
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<select name="transfareto">
|
|
|
|
<option value="">Select the user to transfare to</option>
|
|
|
|
{% for user in user_list %}
|
|
|
|
<option value={{user[0]}}>{{user[1]}}</option>
|
|
|
|
{% endfor %}
|
|
|
|
</select>
|
|
|
|
</p>
|
|
|
|
<p>
|
2024-09-18 20:56:03 +00:00
|
|
|
<input name="change" type="number" lang="nb" step="0.01" max=1000 min=-1000 placeholder="money to transfare">
|
2024-09-18 20:32:25 +00:00
|
|
|
|
2024-09-18 20:25:50 +00:00
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<button type="submit">transfare money</button>
|
|
|
|
|
|
|
|
</p>
|
|
|
|
</form>
|
|
|
|
{% endblock %}
|
|
|
|
|