refactor to make way for dockerization

This commit is contained in:
2022-11-19 16:44:50 -05:00
parent 400c870056
commit ab63eeff96
25 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,27 @@
{% extends 'base.html' %}
{% block content %}
<span><h1>{% block title %} Edit Event {% endblock %}</h1></span>
<p>
<b>Period {{ event.period.period }}</b> <br> Time: {{ event.period.periodTime.strftime("%I:%M %p") }}
</p>
{% if event.task_id != None %}
<p>
<b><a href="/task/{{ event.tasks.id }}">
{{ event.tasks.title }}
</a></b> <br> {{ event.tasks.description }}
</p>
{% else %}
<div><p>(no task assigned... yet)</p></div>
{% endif %}
<form method="post">
{{ form.csrf_token }}
<p>
{{ form.selectedTask.label }}
{{ form.selectedTask }}
</p>
<p>
<button class="btn btn-primary" type="submit">Submit</button>
</p>
</form>
{% endblock %}