proxadmin/app/templates/admin/charge.html

40 реда
859 Б
HTML
Директно Постоянна връзка Normal View История

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