Sha256: e88d3d670256aeea140c336c7a1aad0e507795520b20b047b110e3279dd70665

Contents?: true

Size: 709 Bytes

Versions: 2

Compression:

Stored size: 709 Bytes

Contents

<div id="wiki-wrapper" class="edit">
<div id="head">
  <h1>Editing <strong>{{title}}</strong></h1>
  <ul class="actions">
    <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}}history/{{escaped_url_path}}"
       class="action-page-history">Page History</a></li>
  </ul>
</div>
  <div id="wiki-content">{{>editor}}</div>
</div>
<script type="text/javascript">
window.onbeforeunload = function(){ return "Leaving will discard all edits!" };
$("#gollum-editor-submit").click( function() { window.onbeforeunload = null; } );

jQuery(document).ready(function() {
  $.GollumEditor();
});
</script>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gollum-2.1.2 lib/gollum/frontend/templates/edit.mustache
gollum-2.1.0 lib/gollum/frontend/templates/edit.mustache