geno/wp-content/plugins/mailpoet/views/subscription/manage_subscription.html

24 lines
1 KiB
HTML
Raw Permalink Normal View History

2024-02-01 17:24:18 +05:30
<% 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">
<% set allowedHtml = {'a': {'href': [], 'target': []}} %>
<%= editEmailInfo|wpKses(allowedHtml) %>
</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 %>