{% extends 'core/base.html' %} {% load widget_tweaks %} {% block title %} {% if request.resolver_match.url_name == 'tummytime-update' %} Update a Tummy Time Entry {% else %} Add a Tummy Time Entry {% endif %} {% endblock %} {% block content %} {% if object %}