Fix Apply button disappearing if partner waitlisted (T192290)
{% endblocktrans %}
</p>
</div>
- {% else %}
+ {% endif %}
{% if user_sent_apps %}
<a href="{% url 'applications:renew' latest_sent_app_pk %}" class="btn btn-primary text-center visible-xs z-index-100">{% trans "Renew" %}</a>
{% elif user_open_apps %}
{% else %}
<a href="{{ app_url }}" class="btn btn-primary text-center visible-xs z-index-100">{% trans "Apply" %}</a><br />
{% endif %}
- {% endif %}
{% if user|coordinators_only %}
<form class="margin-bottom-2em" action="{% url 'partners:toggle_waitlist' object.pk %}" method="POST">
{% csrf_token %}
{% endblocktrans %}
</p>
</div>
- {% else %}
+ {% endif %}
{% if user_sent_apps %}
<a href="{% url 'applications:renew' latest_sent_app_pk %}" class="btn btn-primary btn-lg hidden-xs btn-block">{% trans "Renew" %}</a>
{% elif user_open_apps %}
{% else %}
<a href="{{ app_url }}" class="btn btn-primary btn-lg hidden-xs btn-block">{% trans "Apply" %}</a><br />
{% endif %}
- {% endif %}
{% if user|coordinators_only %}
<form class="margin-bottom-2em" action="{% url 'partners:toggle_waitlist' object.pk %}" method="POST">
