Refactor reactivate link html
This commit is contained in:
parent
ca2a90ca2d
commit
a34bd83c5e
1 changed files with 1 additions and 4 deletions
|
@ -95,12 +95,9 @@
|
||||||
<a class="btn btn-primary btn-grey btn-deactivate print" href="{% url 'digitalglarus:membership_deactivate' %}">Deactivate</a>
|
<a class="btn btn-primary btn-grey btn-deactivate print" href="{% url 'digitalglarus:membership_deactivate' %}">Deactivate</a>
|
||||||
</div>
|
</div>
|
||||||
{% elif not current_membership.active %}
|
{% elif not current_membership.active %}
|
||||||
<form method="GET" action="{% url 'digitalglarus:membership_pricing' %}">
|
|
||||||
{% csrf_token %}
|
|
||||||
<div class="edit-button">
|
<div class="edit-button">
|
||||||
<button type="submit" class="btn btn-primary btn-grey btn-deactivate print">Reactivate</button>
|
<a class="btn btn-primary btn-grey btn-deactivate" href="{% url 'digitalglarus:membership_pricing' %}">Reactivate</a>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
<div class="edit-button">
|
<div class="edit-button">
|
||||||
|
|
Loading…
Reference in a new issue