<% extends 'layout.html' %>

<% block content %>
<div class="wrap">
  <div id="mailpoet_automation"></div>
</div>

<script type="text/javascript">
  var mailpoet_locale_full = <%= json_encode(locale_full) %>;
  var mailpoet_automation_api = <%= json_encode(api) %>;
  var mailpoet_automation_count = <%= json_encode(automationCount) %>;
  var mailpoet_automation_templates = <%= json_encode(templates) %>;
</script>
<% endblock %>

<% block after_css %>
<%= stylesheet('mailpoet-automation.css') %>
<% endblock %>
