changeset 191:9391dbb14784

Better UI/markup for the form to revert a page to a revision.
author Ludovic Chabant <ludovic@chabant.com>
date Thu, 06 Feb 2014 07:58:25 -0800
parents 3e14f66670f1
children 80cf68b83d32
files wikked/assets/tpl/revision-page.html
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/wikked/assets/tpl/revision-page.html	Thu Feb 06 07:57:56 2014 -0800
+++ b/wikked/assets/tpl/revision-page.html	Thu Feb 06 07:58:25 2014 -0800
@@ -6,8 +6,10 @@
         <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>
+            <div class="form-group">
+                <button type="submit" class="btn btn-danger" name="btn-revert">Revert</button>
+                <span class="help-block small" for="btn-revert">Revert the page to this revision</span>
+            </div>
         </form>
     </section>
 </div>