1 {% extends '_base.html' %}
2 {% import '_macros.html' as macros %}
11 edit condition of ID {{condition.id_}}
14 <form action="condition?id={{condition.id_ or ''}}" method="POST">
16 <table class="edit_table">
19 <td><input name="title" type="text" value="{{condition.title.newest|e}}" />{% if condition.id_ %} [<a href="condition_titles?id={{condition.id_}}">history</a>]{% endif %}</td>
23 <td><input name="is_active" type="checkbox" {% if condition.is_active %}checked{% endif %} /></td>
27 <td><textarea name="description">{{condition.description.newest|e}}</textarea>{% if condition.id_ %} [<a href="condition_descriptions?id={{condition.id_}}">history</a>]{% endif %}</td>
32 {% for process in enabled_processes %}
33 <a href="process?id={{process.id_}}">{{process.title.newest|e}}</a><br />
40 {% for process in disabled_processes %}
41 <a href="process?id={{process.id_}}">{{process.title.newest|e}}</a><br />
48 {% for process in enabling_processes %}
49 <a href="process?id={{process.id_}}">{{process.title.newest|e}}</a><br />
56 {% for process in disabling_processes %}
57 <a href="process?id={{process.id_}}">{{process.title.newest|e}}</a><br />
63 {{ macros.edit_buttons() }}