capture work on templating bug.
{% if user|coordinators_only %}
<form class="margin-bottom-2em" action="{% url 'partners:toggle_waitlist' object.pk %}" method="POST">
{% csrf_token %}
- <input type="submit" class="btn btn-default btn-block text-center visible-xs z-index-100"
+ <input type="submit" class="btn btn-default btn-block text-center visible-xs z-index-100" value="
{% if object.is_waitlisted %}
- {% comment %} Translators: If a partner is currently waitlisted, this button allows coordinators to remove the partner from the waitlist. { endcomment %}
- value="{% trans "Remove from waitlist" %}"
+ {% comment %} Translators: If a partner is currently waitlisted, this button allows coordinators to remove the partner from the waitlist. {% endcomment %}
+ {% trans "Remove from waitlist" %}
{% else %}
- {% comment %} Translators: If a partner is not currently waitlisted, this button allows coordinators to add the partner to the waitlist. { endcomment %}
- value="{% trans "Set as waitlisted" %}"
+ {% comment %} Translators: If a partner is not currently waitlisted, this button allows coordinators to add the partner to the waitlist. {% endcomment %}
+ {% trans "Set as waitlisted" %}
{% endif %}"/>
</form>
{% endif %}
