{% load crispy_forms_tags %} {% if time_period %}

Edit time period

{% else %}

Add new time period

{% endif %} {% crispy time_period_form %}