From bd5a16e58ef00b814096c56df592701bf52abf23 Mon Sep 17 00:00:00 2001 From: Ammar Ammar <43293485+ammar257ammar@users.noreply.github.com> Date: Wed, 16 Oct 2024 14:02:50 +0000 Subject: [PATCH] Update form templates titles --- .../algorithms/templates/algorithms/algorithm_form.html | 2 +- .../algorithms/templates/algorithms/algorithmmodel_form.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/grandchallenge/algorithms/templates/algorithms/algorithm_form.html b/app/grandchallenge/algorithms/templates/algorithms/algorithm_form.html index d96be6135..13fec064b 100644 --- a/app/grandchallenge/algorithms/templates/algorithms/algorithm_form.html +++ b/app/grandchallenge/algorithms/templates/algorithms/algorithm_form.html @@ -3,7 +3,7 @@ {% load url %} {% block title %} - {{ object|yesno:"Update,Create Algorithm" }} {% if object %} {{ object }} {% endif %} - Algorithms - {{ block.super }} + {{ object|yesno:"Update,Create Algorithm" }} {% if object %} - {{ object }} {% else %} - Algorithms {% endif %} - {{ block.super }} {% endblock %} {% block breadcrumbs %} diff --git a/app/grandchallenge/algorithms/templates/algorithms/algorithmmodel_form.html b/app/grandchallenge/algorithms/templates/algorithms/algorithmmodel_form.html index 11853e234..2979ea8c0 100644 --- a/app/grandchallenge/algorithms/templates/algorithms/algorithmmodel_form.html +++ b/app/grandchallenge/algorithms/templates/algorithms/algorithmmodel_form.html @@ -3,7 +3,7 @@ {% load url %} {% block title %} - {{ object|yesno:"Update,Create Model" }} {% if object %} {{ object }} {% endif %} - {{ algorithm.title }} - {{ block.super }} + {{ object|yesno:"Update,Create Model" }} {% if object %} - {{ object }} {% else %} - {{ algorithm.title }} {% endif %} - {{ block.super }} {% endblock %} {% block breadcrumbs %}