summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2011-03-19 19:54:53 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2011-03-19 19:54:53 +0100
commit39c8b495e8f384702a41b6aa4b36944220e6c1db (patch)
tree0a2e28e8c179b49872e71dd5e1fab69679d1a95f /templates
parentf6dac8876601b5fdc9a834951f5052c901922d69 (diff)
Support the edition of article revision characteristics.
Diffstat (limited to 'templates')
-rw-r--r--templates/edit_page.html28
1 files changed, 25 insertions, 3 deletions
diff --git a/templates/edit_page.html b/templates/edit_page.html
index 260a911..cb02d78 100644
--- a/templates/edit_page.html
+++ b/templates/edit_page.html
@@ -14,7 +14,6 @@
<form id="editing-form" method="POST" accept-charset="UTF-8"
action="{link|html-attr-value}">
<input name="edit" type="hidden" />
- <input name="save" type="hidden" />
<input name="revision" type="hidden" value="{article.revision|html-attr-value}" />
<table id="editing-form-table">
<tr>
@@ -29,9 +28,32 @@
<td></td>
<td><input type="checkbox" id="publish-p" name="publish-p" value="t" /><label for="publish-p">{publish-flag-label|html-attr-value}</label></td>
</tr>
- <tr>
+
+ <tr>
+ <td>{characteristics-label|html}</td>
+ <td>
+ <table>
+ <tbody>
+ {.repeated section characteristics}
+ <tr>
+ <td><input type="submit" name="delete-char:{characteristic|html-attr-value}:{value|html-attr-value}" value="-"></input></td>
+ <td>{characteristic|html}</td>
+ <td>{value|html}</td>
+ </tr>
+ {.end}
+ <tr>
+ <td><input type="submit" name="add-char" value="+"></input></td>
+ <td><input type="text" name="new-char-name"></input></td>
+ <td><input type="text" name="new-char-value"></input></td>
+ </tr>
+ </tbody>
+ </table>
+ </td>
+ </tr>
+
+ <tr>
<td></td>
- <td><input type="submit" value="{save-button-label|html-attr-value}" /></td>
+ <td><input type="submit" value="{save-button-label|html-attr-value}" name="save" /></td>
</tr>
</table>
</form>