diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2011-03-14 21:54:55 +0100 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2011-03-14 21:54:55 +0100 |
commit | 8a1ee16835571d4a590cd66f6ce21926ff02a875 (patch) | |
tree | c5e154f2958ad9551b0f3364cf1bb99572088e95 /templates/article_summary_page.html | |
parent | 07d79cf8bc26d3debec26508f26d6b170f7b8e5d (diff) |
Support the creation of articles and the addition of aliases to existing articles.
Diffstat (limited to 'templates/article_summary_page.html')
-rw-r--r-- | templates/article_summary_page.html | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/templates/article_summary_page.html b/templates/article_summary_page.html index f2b222a..09b3cf5 100644 --- a/templates/article_summary_page.html +++ b/templates/article_summary_page.html @@ -3,6 +3,13 @@ {.end} {.section body} +<p> + <form method="POST"> + <input name="create-article" type="hidden" /> + <input type="submit" value="{create-button-label|html-attr-value}" /> + </form> +</p> + <table> <thead> <th>{id-label}</th> @@ -22,12 +29,19 @@ rowspan="{revision-num|html-attr-value}"> {.repeated section aliases} {@|html} - {.alternates with} <br /> {.end} + <form method="POST" style="white-space: nowrap"> + <input name="add-alias" type="hidden" /> + <input name="article" type="hidden" value="{id|html-attr-value}" /> + <input name="alias" type="text" size="10" /> + <input type="submit" value="{add-alias-label|html-attr-value}" /> + </form> </td> {.repeated section revisions} - <td class="revision-id">{id|html}</a></td> + <td class="revision-id"> + <a href="{link|html-attr-value}">{id|html}</a> + </td> <td class="revision-title"> <a href="{link|html-attr-value}">{title|html}</a> </td> |