{% extends "oneevent/base.html" %} {% load crispy_forms_tags %} {% load crispy_forms_field %} {% block navbar_header_text %}{% if choice.id %}Edit{% else %}New{% endif %} Choice{% endblock %} {% block heading_action %}{% if choice.id %}Edit{% else %}New{% endif %} Choice{% endblock %} {% block heading_title %}{{ choice.event.title }} {{ choice.event.start|date:"D, d N Y H:i" }} {% endblock %} {% block content %}
{% else %} action="{% url 'choice_create' event_id=choice.event.id %}"> {% endif %}

{% crispy choice_form %}

  • You must always have one (and only one) Default Option for your choice
  • If you delete an Option, all participants who had selected this Option will have the Default Option selected instead
  • When you create a new Choice, the Default Option will be selected for all participants
  • If you want to add more than {{ options_formset.extra }} options, just save the choice and "edit the choice.
{% crispy options_formset options_helper %}
{% endblock %}