X-Git-Url: https://plomlompom.com/repos/feed.xml?a=blobdiff_plain;f=templates%2Fcondition.html;h=92f04eb9688c2aad9992d810778f3780fad8d542;hb=HEAD;hp=6b28a525112ada4d9f8c33a62d77353a83df40a2;hpb=8c96e82d1fbab103444d6900318fd249c6164a54;p=plomtask diff --git a/templates/condition.html b/templates/condition.html index 6b28a52..7142363 100644 --- a/templates/condition.html +++ b/templates/condition.html @@ -4,25 +4,28 @@ {% block content %} -

condition

+

+{% if is_new %} +add NEW condition +{% else %} +edit condition of ID {{condition.id_}} +{% endif %} +

- +
- + - - - - - - -
title{% if condition.id_ %} [history]{% endif %}{% if condition.id_ %} [history]{% endif %}
is active
description {% if condition.id_ %} [history]{% endif %}
enables @@ -31,7 +34,6 @@ {% endfor %}
disables @@ -40,7 +42,6 @@ {% endfor %}
enabled by @@ -49,7 +50,6 @@ {% endfor %}
disabled by @@ -58,8 +58,8 @@ {% endfor %}
+ {{ macros.edit_buttons() }} {% endblock %}