home · contact · privacy
Add VersionedAttributes history pages for Conditions.
[plomtask] / templates / condition.html
index 8e73e5ee5ec712f566271dc2ab8eb8347042048a..1fc5902025c7cc21a04a656880a973ed5b6ed312 100644 (file)
@@ -10,7 +10,7 @@
 
 <tr>
 <th>title</th>
-<td><input name="title" value="{{condition.title.newest|e}}" /></td>
+<td><input name="title" value="{{condition.title.newest|e}}" />{% if condition.id_ %} [<a href="condition_titles?id={{condition.id_}}">history</a>]{% endif %}</td>
 <tr/>
 
 <tr>
@@ -20,7 +20,7 @@
 
 <tr>
 <th>description</th>
-<td><input name="description" value="{{condition.description.newest|e}}" /></td>
+<td><textarea name="description">{{condition.description.newest|e}}</textarea>{% if condition.id_ %} [<a href="condition_descriptions?id={{condition.id_}}">history</a>]{% endif %}</td>
 <tr/>
 
 </table>