27 lines
618 B
HTML
27 lines
618 B
HTML
{% extends 'base.html' %}
|
|
{% from '_macros.html' import field %}
|
|
|
|
{% block content %}
|
|
<h2>Create event</h2>
|
|
<form method="post">
|
|
{{ form.hidden_tag() }}
|
|
|
|
{% if form.errors %}
|
|
{% for error in form.errors %}
|
|
{{ error }}
|
|
{% endfor %}
|
|
<br>
|
|
{% endif %}
|
|
|
|
{{ field(form.title) }}
|
|
{{ field(form.time_zone) }}
|
|
{{ field(form.start_time) }}
|
|
{{ field(form.end_time) }}
|
|
{{ field(form.all_day) }}
|
|
{{ field(form.description) }}
|
|
|
|
<button type="submit">{% trans %}Save{% endtrans %}</button>
|
|
<a href="{{ url_for('hello') }}">Cancel</a>
|
|
</form>
|
|
{% endblock content %}
|