forked from bton/matekasse
34 lines
766 B
HTML
34 lines
766 B
HTML
{% 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>
|
|
<input name="change" type="number" lang="nb" step="0.01" placeholder="money to transfare">
|
|
|
|
</p>
|
|
<p>
|
|
<button type="submit">transfare money</button>
|
|
|
|
</p>
|
|
</form>
|
|
{% endblock %}
|
|
|