2017-07-14 09:04:27 -04:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
2017-07-15 20:48:18 -04:00
|
|
|
{% block title %}Activate service #{{ service.pid }}{% endblock %}
|
2017-07-14 09:04:27 -04:00
|
|
|
|
|
|
|
{% block page_content %}
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="panel panel-info">
|
|
|
|
<div class="panel-heading">Activate</div>
|
|
|
|
<div class="panel-body">
|
|
|
|
|
2017-07-15 20:48:18 -04:00
|
|
|
<form method="POST" action"{{ url_for('smanager.activate', itemid=service.pid) }}">
|
|
|
|
<h3>
|
|
|
|
{{ form.period.label }} {{ form.period }}<br />
|
2017-07-14 09:04:27 -04:00
|
|
|
{% for error in form.period.errors %}
|
|
|
|
{{ error }}<br />
|
|
|
|
{% endfor %}
|
2017-07-15 20:48:18 -04:00
|
|
|
---<br />
|
|
|
|
Total = {{ total }}
|
|
|
|
</h3>
|
|
|
|
|
2017-07-14 09:04:27 -04:00
|
|
|
<p>
|
|
|
|
{{ form.csrf_token() }}
|
|
|
|
{{ form.submit }}
|
|
|
|
</p>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% endblock %}
|
|
|
|
|