Skip to content

Commit

Permalink
Update form templates titles
Browse files Browse the repository at this point in the history
  • Loading branch information
ammar257ammar committed Oct 16, 2024
1 parent f2f8375 commit bd5a16e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down

0 comments on commit bd5a16e

Please sign in to comment.