diff --git a/apps/note/templates/note/transactiontemplate_form.html b/apps/note/templates/note/transactiontemplate_form.html index f64c1f3c..816be9d8 100644 --- a/apps/note/templates/note/transactiontemplate_form.html +++ b/apps/note/templates/note/transactiontemplate_form.html @@ -5,24 +5,30 @@ SPDX-License-Identifier: GPL-3.0-or-later {% load static i18n crispy_forms_tags pretty_money %} {% block content %} -

{{ title }}

-

- {% trans "Buttons list" %} -

-
- {% csrf_token %} - {{form|crispy}} - -
+{% trans "Buttons list" %} - {% if price_history and price_history.1 %} -
+
+

+ {{ title }} +

+
+
+ {% csrf_token %} + {{form|crispy}} + +
+ + {% if price_history and price_history.1 %} +
+ +

{% trans "Price history" %}

+ + {% endif %} +
+
-

{% trans "Price history" %}

- - {% endif %} {% endblock %}