proxadmin/app/templates/admin/charge.html

40 lines
859 B
HTML
Raw Normal View History

2017-03-08 13:53:09 -05:00
{% extends "base.html" %}
{% block title %}Зареждане на сметка{% endblock %}
{% block page_content %}
<div class="container-fluid">
<div class="row">
2017-06-06 09:49:32 -04:00
{% include "admin/admin_tasks.html" %}
2017-03-08 13:53:09 -05:00
2017-06-06 09:49:32 -04:00
<div class="col-md-12">
2017-03-08 13:53:09 -05:00
<div class="panel panel-info">
<div class="panel-heading">Зареждане на сметка</div>
<div class="panel-body">
2017-06-04 11:22:59 -04:00
<form method="POST" action="{{ url_for('admin.charge', user_pid=usr.pid) }}">
2017-03-08 13:53:09 -05:00
<p>
2017-06-06 09:49:32 -04:00
Current Value: {{ usr.wallet }}<br />
{{ form.amount.label }} {{ form.amount }}<br />
{% for error in form.amount.errors %}
2017-03-08 13:53:09 -05:00
{{ error }}<br />
{% endfor %}
</p>
</div>
</div>
<p>
{{ form.csrf_token() }}
{{ form.submit }}
</p>
</div>
</div>
</div>
{% endblock %}