X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Bdeck_id%7D%7D/cards/%7B%7Bcard_id%7D%7D/static/git-logo.png?a=blobdiff_plain;f=templates%2Fcondition.html;h=7142363b3f2e24b45ed2d250d2e4144bf8406ef0;hb=57364f285cc2d26f3f3984f0d71e76af4e79e3d3;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 %}