{% extends "base.html" %} {% block title %}{{ page_title }} | Roadshow Calendar{% endblock %} {% block content %} {% if form_mode == 'edit' %}Edit event{% else %}Create event{% endif %} {{ form_title }} {{ form_intro }} {% csrf_token %} {{ form.name.label }} {{ form.name }} {% if form.name.help_text %}{{ form.name.help_text }}{% endif %} {% for error in form.name.errors %}{{ error }}{% endfor %} {{ form.location.label }} {{ form.location }} {% if form.location.help_text %}{{ form.location.help_text }}{% endif %} {% for error in form.location.errors %}{{ error }}{% endfor %} {{ form.start.label }} {{ form.start }} {% if form.start.help_text %}{{ form.start.help_text }}{% endif %} {% for error in form.start.errors %}{{ error }}{% endfor %} {{ form.end.label }} {{ form.end }} {% if form.end.help_text %}{{ form.end.help_text }}{% endif %} {% for error in form.end.errors %}{{ error }}{% endfor %} {{ form.event_url.label }} {{ form.event_url }} {% if form.event_url.help_text %}{{ form.event_url.help_text }}{% endif %} {% for error in form.event_url.errors %}{{ error }}{% endfor %} {{ form.summary.label }} {{ form.summary }} {% if form.summary.help_text %}{{ form.summary.help_text }}{% endif %} {% for error in form.summary.errors %}{{ error }}{% endfor %} {{ form.is_published }} Publish this event publicly {% if form.is_published.help_text %}{{ form.is_published.help_text }}{% endif %} {% for error in form.is_published.errors %}{{ error }}{% endfor %} {% if form_mode == 'create' %} Repeat weekly (optional) Use the same event details and time range to create one event per week within a date window. {{ form.recurrence_start_date.label }} {{ form.recurrence_start_date }} {% if form.recurrence_start_date.help_text %}{{ form.recurrence_start_date.help_text }}{% endif %} {% for error in form.recurrence_start_date.errors %}{{ error }}{% endfor %} {{ form.recurrence_end_date.label }} {{ form.recurrence_end_date }} {% if form.recurrence_end_date.help_text %}{{ form.recurrence_end_date.help_text }}{% endif %} {% for error in form.recurrence_end_date.errors %}{{ error }}{% endfor %} {{ form.recurrence_weekday.label }} {{ form.recurrence_weekday }} {% if form.recurrence_weekday.help_text %}{{ form.recurrence_weekday.help_text }}{% endif %} {% for error in form.recurrence_weekday.errors %}{{ error }}{% endfor %} {% endif %} {% if form.non_field_errors %} {{ form.non_field_errors }} {% endif %} {{ submit_label }} Cancel {% endblock %}
{{ form_intro }}
Use the same event details and time range to create one event per week within a date window.