{% extends 'babyblotter/page.html' %} {% load widget_tweaks %} {% load duration %} {% block title %}Timer{% endblock %} {% block content %} {% if object %}

Update {{ object }}

{% else %}

Start Timer

{% endif %}
{% csrf_token %} {% for field in form %}
{% if field.errors %} {{ field|add_class:"form-control is-invalid" }} {% else %} {{ field|add_class:"form-control" }} {% endif %} {% if field.help_text %}

{{ field.help_text }}

{% endif %} {% if field.errors %}

{% for error in field.errors %}{{ error }}{% endfor %}

{% endif %}
{% endfor %} Cancel
{% endblock %}