<t:title>Revisions of <t:label t:name="title" /></t:title>
- <div class="revisions">
- <table>
- <tr>
- <th>Revision</th>
- <th>Author</th>
- <th>Rollback</th>
- </tr>
-
- <t:bind-each t:name="revisions">
- <tr>
- <td> <t:a t:href="revision" t:query="id"><t:label t:name="date" /></t:a> </td>
- <td> <t:a t:href="user-edits" t:query="author"><t:label t:name="author" /></t:a> </td>
- <td> <t:button t:action="rollback" t:for="id" class="link link-button">Rollback</t:button> </td>
- </tr>
- </t:bind-each>
- </table>
- </div>
-
<h2>View Differences</h2>
- <form action="diff" method="get">
+ <t:form t:action="$wiki/diff" t:method="get">
<table>
<tr>
<th class="field-label">Old revision:</th>
</tr>
</table>
- <input type="submit" value="View" />
- </form>
-
- <br/>
-
- <div class="navbar">
- <t:a t:href="$wiki/view" t:query="title">Latest</t:a>
- | <t:a t:href="$wiki/revisions" t:query="title">Revisions</t:a>
- | <t:a t:href="$wiki/edit" t:query="title">Edit</t:a>
- | <t:button t:action="$wiki/delete" t:for="title" class="link-button link">Delete</t:button>
- </div>
+ <button type="submit">View</button>
+ </t:form>
</t:chloe>