source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'content' => [$this, 'block_content'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 1
yield from $this->unwrap()->yieldBlock('content', $context, $blocks);
return; yield '';
}
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
// line 2
yield " ";
if (($context["before_widget"] ?? null)) {
// line 3
yield " ";
yield ($context["before_widget"] ?? null);
yield "
";
}
// line 5
yield "
";
// line 6
if (($context["title"] ?? null)) {
// line 7
yield " ";
yield ($context["before_title"] ?? null);
yield ($context["title"] ?? null);
yield ($context["after_title"] ?? null);
yield "
";
}
// line 9
yield "
env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape(($context["animation"] ?? null), "html", null, true);
yield "
mailpoet_form_overlay_animation
";
}
// line 16
yield " \">
env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape(($context["form_html_id"] ?? null), "html", null, true);
yield "\"
class=\"
mailpoet_form
mailpoet_form_";
// line 21
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape(($context["form_type"] ?? null), "html", null, true);
yield "
mailpoet_form_position_";
// line 22
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape(($context["position"] ?? null), "html", null, true);
yield "
mailpoet_form_animation_";
// line 23
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape(($context["animation"] ?? null), "html", null, true);
yield "
\"
";
// line 25
if (($context["is_preview"] ?? null)) {
// line 26
yield " data-is-preview=\"1\"
data-editor-url=\"";
// line 27
yield $this->env->getRuntime('MailPoetVendor\Twig\Runtime\EscaperRuntime')->escape(($context["editor_url"] ?? null), "html", null, true);
yield "\"
";
}
// line 29
yield " >
";
// line 71
if ((((($context["form_type"] ?? null) == "popup") || (($context["form_type"] ?? null) == "fixed_bar")) || (($context["form_type"] ?? null) == "slide_in"))) {
// line 72
yield "
extensions['MailPoet\Twig\I18n']->translate("Close");
yield "\"
src='";
// line 75
yield $this->extensions['MailPoet\Twig\Assets']->generateImageUrl((("form_close_icon/" . ($context["close_button_icon"] ?? null)) . ".svg"));
yield "'
/>
";
}
// line 78
yield "
";
// line 80
if (($context["after_widget"] ?? null)) {
// line 81
yield " ";
yield ($context["after_widget"] ?? null);
yield "
";
}
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "form/front_end_form.html";
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 233 => 81, 231 => 80, 227 => 78, 221 => 75, 217 => 74, 213 => 72, 211 => 71, 205 => 67, 199 => 65, 196 => 64, 192 => 62, 190 => 61, 183 => 58, 179 => 56, 177 => 55, 171 => 52, 164 => 48, 160 => 47, 156 => 46, 151 => 44, 147 => 43, 143 => 42, 139 => 41, 134 => 39, 130 => 38, 121 => 32, 116 => 29, 111 => 27, 108 => 26, 106 => 25, 101 => 23, 97 => 22, 93 => 21, 87 => 18, 83 => 16, 76 => 13, 74 => 12, 69 => 9, 61 => 7, 59 => 6, 56 => 5, 50 => 3, 47 => 2, 39 => 1,);
}
public function getSourceContext()
{
return new Source("", "form/front_end_form.html", "/home/circleci/mailpoet/mailpoet/views/form/front_end_form.html");
}
}