<% extends 'layout.html' %>

<% block content %>
<div class="wrap">
  <h1 class="wp-heading-inline">Automation</h1>

  <div id="mailpoet_automation"></div>
</div>
<% endblock %>

<% block after_javascript %>
  <script type="text/javascript">
    var mailpoet_automation_api = <%= json_encode(api) %>;
  </script>
  <%= javascript('automation.js')%>
<% endblock %>

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