app/templates/dashboard/coupon.html

28 lines
No EOL
665 B
HTML

{% extends 'default.html' %}
{% set active_page = "dashboard" %}
{% block title %}
Coupon
{% endblock %}
{% block default_content %}
<div class="card">
<div class="card-body">
<h1 class="h2">Coupon</h1>
<div class="mb-4">
Please enter the coupon here to upgrade your account or extend your current subscription.
</div>
<form method="post">
{{ coupon_form.csrf_token }}
{{ coupon_form.code(class="form-control", placeholder="Licence Code") }}
{{ render_field_errors(coupon_form.code) }}
<button class="btn btn-success mt-2">Apply</button>
</form>
</div>
</div>
{% endblock %}