diff --git a/app/grandchallenge/emails/templates/emails/email_form.html b/app/grandchallenge/emails/templates/emails/email_form.html index ec06ae4a8..957fe6106 100644 --- a/app/grandchallenge/emails/templates/emails/email_form.html +++ b/app/grandchallenge/emails/templates/emails/email_form.html @@ -2,7 +2,7 @@ {% load crispy_forms_tags %} {% block title %} - {% if object %}Update{% else %}Create{% endif %} -{% if object %} {{ object }} -{% endif %} {{ block.super }} + {{ object|yesno:"Update,Create Email" }} {% if object %} - {{ object }} {% else %} - Emails {% endif %} - {{ block.super }} {% endblock %} {% block breadcrumbs %} @@ -11,7 +11,7 @@ {% if object %} {% endif %} - + {% endblock %}