summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2011-03-13 20:57:12 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2011-03-13 20:57:12 +0100
commit315838f9f666ab0196ff1f27c9604b5a2f2bce50 (patch)
tree047541407cd8c5f52c2c779d5ae18f264d923b43 /templates
parente7eb24f3526bd806ace3d9e151e1e3542be2e33c (diff)
Support article editing.
Diffstat (limited to 'templates')
-rw-r--r--templates/article.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/templates/article.html b/templates/article.html
index 7bd233b..25013d6 100644
--- a/templates/article.html
+++ b/templates/article.html
@@ -4,11 +4,13 @@
<div class="article-header">
<header>
+ {.section publishing-date}
<span class="article-date">
- <time pubdate="pubdate" datetime="{publishing-date|html-iso-date}">
- {publishing-date|html-human-date}
+ <time pubdate="pubdate" datetime="{@|html-iso-date}">
+ {@|html-human-date}
</time>
</span>
+ {.end}
</header>
</div>
@@ -24,6 +26,7 @@
method="get">
<div style="display: inline;">
<input name="edit" type="hidden" />
+ <input name="revision" type="hidden" value="{revision|html-attr-value}" />
<input type="submit" value="{edit-button-label|html-attr-value}" />
</div>
</form>