home · contact · privacy
Improve template layouts.
[plomtask] / templates / condition.html
index 92f04eb9688c2aad9992d810778f3780fad8d542..00aeedb6762f2d304b8784f116bce795ba350418 100644 (file)
@@ -1,16 +1,31 @@
 {% extends 'base.html' %}
 
+
+
 {% block content %}
 <h3>condition</h3>
 <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 %} />
+<table>
+
+<tr>
+<th>title</th>
+<td><input name="title" value="{{condition.title.newest|e}}" /></td>
+<tr/>
 
+<tr>
+<th>is active</th>
+<td><input name="is_active" type="checkbox" {% if condition.is_active %}checked{% endif %} /></td>
+<tr/>
+
+<tr>
+<th>description</th>
+<td><input name="description" value="{{condition.description.newest|e}}" /></td>
+<tr/>
+
+</table>
 <input class="btn-harmless" type="submit" name="update" value="update" />
 <div class="btn-to-right">
 <input class="btn-dangerous" type="submit" name="delete" value="delete" />
 </div>
-
 {% endblock %}