<% block content %>
<form class="mailpoet-manage-subscription" method="post" action="<%= actionUrl|escape %>" novalidate>
  <input type="hidden" name="action" value="mailpoet_subscription_update" />
  <input type="hidden" name="data[segments]" value="" />
  <input type="hidden" name="mailpoet_redirect" value="<%= redirectUrl|escape %>"/>
  <input type="hidden" name="data[email]" value="<%= email|escape %>" />
  <input type="hidden" name="token" value="<%= token %>" />
  <p class="mailpoet_paragraph">
    <label> <%= __('Email', 'mailpoet') %>*<br /><strong><%= email|escape %></strong></label>
    <br />
    <span class="mailpoet-change-email-info"><%= editEmailInfo|raw %></span>
  </p>
  <%= formHtml|raw %>
  <% if formState == 'success' %>
  <p class="mailpoet-submit-success">
    <%= _x('Your preferences have been saved.', 'success message after saving subscription settings') %>
  </p>
  <% endif %>
</form>
<% endblock %>
