dsite/timer/templates/index.html

24 lines
526 B
HTML

{% extends 'base.html' %}
{% block content %}
<title>Office Hour</title>
<div>
<h2>office hour ends at: </h2>
<h1>{{ today_oh.get_ends_at_str }}</h1>
</div>
<form method="POST">
{% csrf_token %}
{% for f in form %}
<div class="form-group " >
{% if f.name == 'begins_at' %}
<label>
{{ f.name }}
</label>
<input type="" name={{ f.name }} class="form-control">
{% endif %}
</div>
{% endfor %}
<button type="submit" class="btn btn-primary">Submit</button>
</form>
{% endblock content %}