anchor.diff:  </div>
   
   <script>
  +
  +function submit_form() {
  +  last_saved_content = cur_content;
  +  $("#edit-form").submit();
  +}
   
   var cur_content = $("#edit-content").val();
   var last_saved_content = cur_content;
  
positive.code: $(document).ready(do_layout_elems);
  $(window).resize(do_layout_elems);
  
  </script>
  
negative.code: <form id="edit-form" action="/edit/<%= h entry[:filepath] %>" method="post">
    <%= h entry[:filepath] %>
    <div class="small primary btn pretty"><a href="javascript:submit_form();">submit</a></div>
    <hr />
  
    <div class="row stretch">
  