<div id="wiki-wrapper" class="history">
<div id="head">
  <h1>History for <strong>{{title}}</strong></h1>
  <ul class="actions">
    <li class="minibutton">
      {{>searchbar}}
    </li>
    <li class="minibutton"><a href="{{base_url}}/{{escaped_url_path}}"
       class="action-view-page">View Page</a></li>
    <li class="minibutton"><a href="{{base_url}}/edit/{{escaped_url_path}}"
       class="action-edit-page">Edit Page</a></li>
  </ul>
</div>
<div id="wiki-history">

  <ul class="actions">
    <li class="minibutton"><a href="javascript:void(0);"
       class="action-compare-revision">Compare Revisions</a></li>
  </ul>

  <form name="compare-versions" id="version-form" method="post"
   action="{{base_url}}/compare/{{escaped_url_path}}">
  <fieldset>
  <table>
    <tbody>

      {{#versions}}
      <tr>
        <td class="checkbox">
          <input type="checkbox" name="versions[]" value="{{id}}">
        </td>
        <td class="author">
            {{>author_template}}
        </td>
        <td class="commit-name">
          <span class="time-elapsed" title="{{date_full}}">{{date}}:</span>&nbsp;
          {{message}}
          [<a href="{{base_url}}/{{escaped_url_path}}/{{id}}" title="View commit">{{id7}}</a>]
        </td>
      </tr>
      {{/versions}}

    </tbody>
  </table>
  </fieldset>
  </form>
</div>
<div id="footer">
  <ul class="actions">
    <li class="minibutton"><a href="javascript:void(0);"
       class="action-compare-revision">Compare Revisions</a></li>

    <!-- only show this button if we have more than 20 revisions -->
    <li class="minibutton"><a href="#"
       class="action-back-to-top">Back to Top</a></li>
  </ul>
</div>
</div>
