anchor.diff:  
           this.editor = editor
   
  -        <% if @query.new_record? %>
  +        if (new_record) {
             var draftSQL = DraftStore.restoreDraft()
             if (draftSQL) { editor.setValue(draftSQL) }
  -        <% end %>
  +        }
   
           editor.getSession().on("change", function () {
             $("#query_statement").val(editor.getValue())
  
positive.code: <script>
    <%= blazer_js_var "params", variable_params %>
    <%= blazer_js_var "previewStatement", Hash[Blazer.data_sources.map { |k, v| [k, (v.preview_statement rescue "")] }] %>
  
    var app = new Vue({
      el: "#app",
  
negative.code:           _this.running = false
            _this.showResults(data)
  
            if (new_record) { DraftStore.saveDraft(_this.getSQL()) }
  
            errorLine = _this.getErrorLine()
            if (errorLine) {
  