<?php

use MailPoetVendor\Twig\Environment;
use MailPoetVendor\Twig\Error\LoaderError;
use MailPoetVendor\Twig\Error\RuntimeError;
use MailPoetVendor\Twig\Extension\SandboxExtension;
use MailPoetVendor\Twig\Markup;
use MailPoetVendor\Twig\Sandbox\SecurityError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedTagError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFilterError;
use MailPoetVendor\Twig\Sandbox\SecurityNotAllowedFunctionError;
use MailPoetVendor\Twig\Source;
use MailPoetVendor\Twig\Template;

/* subscription/manage_subscription.html */
class __TwigTemplate_22e536f4d16a682447e9ba43d6393f7ffbe0c5f6b0fc4e42c0232f373de8606b extends \MailPoetVendor\Twig\Template
{
    private $source;
    private $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->parent = false;

        $this->blocks = [
            'content' => [$this, 'block_content'],
        ];
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 1
        $this->displayBlock('content', $context, $blocks);
    }

    public function block_content($context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 2
        echo "<form class=\"mailpoet-manage-subscription\" method=\"post\" action=\"";
        echo \MailPoetVendor\twig_escape_filter($this->env, ($context["actionUrl"] ?? null));
        echo "\" novalidate>
  <input type=\"hidden\" name=\"action\" value=\"mailpoet_subscription_update\" />
  <input type=\"hidden\" name=\"data[segments]\" value=\"\" />
  <input type=\"hidden\" name=\"mailpoet_redirect\" value=\"";
        // line 5
        echo \MailPoetVendor\twig_escape_filter($this->env, ($context["redirectUrl"] ?? null));
        echo "\"/>
  <input type=\"hidden\" name=\"data[email]\" value=\"";
        // line 6
        echo \MailPoetVendor\twig_escape_filter($this->env, ($context["email"] ?? null));
        echo "\" />
  <input type=\"hidden\" name=\"token\" value=\"";
        // line 7
        echo \MailPoetVendor\twig_escape_filter($this->env, ($context["token"] ?? null), "html", null, true);
        echo "\" />
  <p class=\"mailpoet_paragraph\">
    <label> ";
        // line 9
        echo $this->extensions['MailPoet\Twig\I18n']->translate("Email", "mailpoet");
        echo "*<br /><strong>";
        echo \MailPoetVendor\twig_escape_filter($this->env, ($context["email"] ?? null));
        echo "</strong></label>
    <br />
    <span class=\"mailpoet-change-email-info\">";
        // line 11
        echo ($context["editEmailInfo"] ?? null);
        echo "</span>
  </p>
  ";
        // line 13
        echo ($context["formHtml"] ?? null);
        echo "
  ";
        // line 14
        if ((($context["formState"] ?? null) == "success")) {
            // line 15
            echo "  <p class=\"mailpoet-submit-success\">
    ";
            // line 16
            echo $this->extensions['MailPoet\Twig\I18n']->translateWithContext("Your preferences have been saved.", "success message after saving subscription settings");
            echo "
  </p>
  ";
        }
        // line 19
        echo "</form>
";
    }

    public function getTemplateName()
    {
        return "subscription/manage_subscription.html";
    }

    public function getDebugInfo()
    {
        return array (  92 => 19,  86 => 16,  83 => 15,  81 => 14,  77 => 13,  72 => 11,  65 => 9,  60 => 7,  56 => 6,  52 => 5,  45 => 2,  38 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("", "subscription/manage_subscription.html", "/home/brunomau/www/wp-content/plugins/mailpoet/views/subscription/manage_subscription.html");
    }
}
