home · contact · privacy
Improve Process editing template layout.
[plomtask] / templates / condition.html
index 324c8f8a0efe9c6c05dba0307fd682807983bcdf..8deb71cbf4dac93d837fb3cd51c8fd3b6b4cce6d 100644 (file)
@@ -3,8 +3,16 @@
 
 
 
+{% block css %}
+input[name="title"] {
+  width: 100em;
+}
+{% endblock %}
+
+
+
 {% block content %}
-<h3>condition</h3>
+<h3>{% if is_new %}NEW {% endif %}condition</h3>
 <form action="condition?id={{condition.id_ or ''}}" method="POST">
 <table>
 
@@ -27,7 +35,7 @@
 <th>enables</th>
 <td>
 {% for process in enabled_processes %}
-<a href="process?id=process.id_">{{process.title.newest|e}}</a><br />
+<a href="process?id={{process.id_}}">{{process.title.newest|e}}</a><br />
 {% endfor %}
 </td>
 </tr>
@@ -36,7 +44,7 @@
 <th>disables</th>
 <td>
 {% for process in disabled_processes %}
-<a href="process?id=process.id_">{{process.title.newest|e}}</a><br />
+<a href="process?id={{process.id_}}">{{process.title.newest|e}}</a><br />
 {% endfor %}
 </td>
 </tr>
@@ -45,7 +53,7 @@
 <th>enabled by</th>
 <td>
 {% for process in enabling_processes %}
-<a href="process?id=process.id_">{{process.title.newest|e}}</a><br />
+<a href="process?id={{process.id_}}">{{process.title.newest|e}}</a><br />
 {% endfor %}
 </td>
 </tr>
@@ -54,7 +62,7 @@
 <th>disabled by</th>
 <td>
 {% for process in disabling_processes %}
-<a href="process?id=process.id_">{{process.title.newest|e}}</a><br />
+<a href="process?id={{process.id_}}">{{process.title.newest|e}}</a><br />
 {% endfor %}
 </td>
 </tr>