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>
|
||||
</div>
|
||||
{% elif not current_membership.active %}
|
||||
<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">Reactivate</button>
|
||||
<a class="btn btn-primary btn-grey btn-deactivate" href="{% url 'digitalglarus:membership_pricing' %}">Reactivate</a>
|
||||
</div>
|
||||
</form>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
<div class="edit-button">
|
||||
|
|
Loading…
Reference in a new issue