<% extends 'layout.html' %>

<% block content %>
<div class="block-editor">
  <div id="mailpoet_form_edit_templates">
  </div>
</div>

<script>
  <% autoescape 'js' %>
  var mailpoet_templates = <%= json_encode(templates) %>;
  var mailpoet_form_edit_url =
    "<%= admin_url('admin.php?page=mailpoet-form-editor&template_id=') %>";
  <% endautoescape %>
</script>

<style id="mailpoet-form-editor-form-styles"></style>
<% endblock %>
