<% extends 'layout.html' %>

<% block content %>
<div id="mailpoet_automation_templates"></div>

<script type="text/javascript">
  var mailpoet_locale_full = <%= json_encode(locale_full) %>;
  var mailpoet_automation_api = <%= json_encode(api) %>;
  var mailpoet_automation_templates = <%= json_encode(templates) %>;
  var mailpoet_automation_template_categories = <%= json_encode(template_categories) %>;
  var mailpoet_automation_registry = <%= json_encode(registry) %>;
  var mailpoet_automation_context = <%= json_encode(context) %>;
</script>
<% endblock %>
