{% csrf_token %}
{% with current_status=form.status.value %} {% for radio in form.status %} {% comment %} Render colored button for each choice by checking value {% endcomment %} {{ radio.tag }} {% endfor %} {% endwith %}
{% if form.status.errors %}
{{ form.status.errors|join:", " }}
{% endif %}
{{ form.comment }} {% if form.comment.errors %}
{{ form.comment.errors|join:", " }}
{% endif %}