calendar-social/calsocial/templates/event-edit.html

28 lines
711 B
HTML
Raw Permalink Normal View History

2018-06-30 04:44:45 +00:00
{% extends 'base.html' %}
{% from '_macros.html' import field %}
2018-06-30 04:44:45 +00:00
{% block content %}
<h2>Create event</h2>
2018-07-13 08:19:37 +00:00
<form method="post" class="ui form">
2018-06-30 04:44:45 +00:00
{{ form.hidden_tag() }}
{% if form.errors %}
{% for error in form.errors %}
{{ error }}
{% endfor %}
2018-06-30 04:44:45 +00:00
<br>
{% endif %}
{{ field(form.title) }}
{{ field(form.time_zone) }}
{{ field(form.start_time) }}
{{ field(form.end_time) }}
{{ field(form.all_day) }}
{{ field(form.description) }}
{{ field(form.visibility) }}
2018-06-30 04:44:45 +00:00
2018-07-13 08:19:37 +00:00
<button type="submit" class="ui primary button">{% trans %}Save{% endtrans %}</button>
<a href="{{ url_for('hello') }}" class="ui button">Cancel</a>
2018-06-30 04:44:45 +00:00
</form>
{% endblock content %}