On reactivate, take user to pricing page

This commit is contained in:
PCoder 2017-12-24 18:06:17 +01:00
parent 89d70a2b6a
commit ca2a90ca2d

View file

@ -95,10 +95,10 @@
<a class="btn btn-primary btn-grey btn-deactivate print" href="{% url 'digitalglarus:membership_deactivate' %}">Deactivate</a>
</div>
{% elif not current_membership.active %}
<form method="POST" action="{% url 'digitalglarus:membership_reactivate' %}">
<form method="GET" action="{% url 'digitalglarus:membership_pricing' %}">
{% csrf_token %}
<div class="edit-button">
<button type="submit" class="btn btn-primary btn-grey btn-deactivate print" href="{% url 'digitalglarus:membership_reactivate' %}">Reactivate</button>
<button type="submit" class="btn btn-primary btn-grey btn-deactivate print">Reactivate</button>
</div>
</form>
{% endif %}