TabbycatDebate/tabbycat

View on GitHub
tabbycat/results/templates/debate_postponement_form.html

Summary

Maintainability
Test Coverage
{% load debate_tags i18n %}
{% if debate.result_status == debate.STATUS_POSTPONED %}
  <small>{% trans "Postponed" %}</small>
{% else %}
  <form method="POST" action="{% roundurl 'results-postpone-debate' debate.round debate.id %}" class='text-secondary'>
    {% csrf_token %}
    <button type="submit" class="btn btn-link text-primary p-0">
      <small>{% trans "Postpone" %}</small>
    </button>
  </form>
{% endif %}