40 lines
859 B
HTML
40 lines
859 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}Зареждане на сметка{% endblock %}
|
|
|
|
{% block page_content %}
|
|
<div class="container-fluid">
|
|
<div class="row">
|
|
{% include "admin/admin_tasks.html" %}
|
|
|
|
<div class="col-md-12">
|
|
<div class="panel panel-info">
|
|
<div class="panel-heading">Зареждане на сметка</div>
|
|
<div class="panel-body">
|
|
<form method="POST" action="{{ url_for('admin.charge', user_pid=usr.pid) }}">
|
|
<p>
|
|
Current Value: {{ usr.wallet }}<br />
|
|
{{ form.amount.label }} {{ form.amount }}<br />
|
|
{% for error in form.amount.errors %}
|
|
{{ error }}<br />
|
|
{% endfor %}
|
|
</p>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<p>
|
|
{{ form.csrf_token() }}
|
|
{{ form.submit }}
|
|
</p>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock %}
|
|
|