home · contact · privacy
Enable Condition.is_active toggling in Condition view.
[plomtask] / templates / condition.html
index a0a9f45c54c3372bad772c1a67f33ba699e1630d..92f04eb9688c2aad9992d810778f3780fad8d542 100644 (file)
@@ -5,6 +5,7 @@
 <form action="condition?id={{condition.id_ or ''}}" method="POST">
 title: <input name="title" value="{{condition.title.newest|e}}" />
 description: <input name="description" value="{{condition.description.newest|e}}" />
+is active: <input name="is_active" type="checkbox" {% if condition.is_active %}checked{% endif %} />
 
 <input class="btn-harmless" type="submit" name="update" value="update" />
 <div class="btn-to-right">