view static/tpl/revision-page.html @ 69:0adac3bc079e

Client refactoring: - Correctly clean-up Backbone views. - Remove some coupling to the router. - Remove duplication for view hosts. - Added ability to revert a page to a previous revision.
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 12 Feb 2013 20:55:13 -0800
parents 8250c977bc50
children b03f083c3a29
line wrap: on
line source

<article class="row">
    <div class="page span12">
        <h1>{{meta.title}} <span class="decorator">Revision: <span class="rev_id">{{disp_rev}}</span></span></h1>
        <pre><code>{{text}}</code></pre>
        <form id="page-revert" class="page-revert">
            <input type="hidden" name="rev" value="{{rev}}"/>
            <button type="submit" class="btn">Revert</button>
            <small>Revert the page to this revision</small>
        </form>
    </div>
</article>