<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* content/landing-page.html.twig */
class __TwigTemplate_4d9a0cb9fe8c5ad092c5596e0dcd8f9b extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'header' => [$this, 'block_header'],
'toolbar' => [$this, 'block_toolbar'],
'footer' => [$this, 'block_footer'],
'bottom' => [$this, 'block_bottom'],
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "content/landing-page.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "content/landing-page.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "content/landing-page.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 4
public function block_header($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 5
public function block_toolbar($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "toolbar"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "toolbar"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 6
public function block_footer($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 7
public function block_bottom($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "bottom"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "bottom"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 9
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 10
echo "\t<script>
\t";
// line 12
echo "\tdocument.documentElement.setAttribute(\"style\", \"overflow: visible;\");
\t</script>
";
// line 15
echo " ";
// line 16
echo " ";
if ((true || (twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 16, $this->source); })()), "template", [], "any", false, false, false, 16) == 1))) {
// line 17
echo " ";
// line 18
echo "
";
// line 19
$context["background"] = twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 19, $this->source); })()), "getContentMetaValueByKey", ["rcs_body_background_color"], "method", false, false, false, 19);
// line 20
echo " ";
if ((isset($context["background"]) || array_key_exists("background", $context) ? $context["background"] : (function () { throw new RuntimeError('Variable "background" does not exist.', 20, $this->source); })())) {
// line 21
echo " <style>
.top-wrap {
display: table;
}
</style>
<div class=\"lp-wrapper\" style=\"background: ";
// line 26
echo twig_escape_filter($this->env, (isset($context["background"]) || array_key_exists("background", $context) ? $context["background"] : (function () { throw new RuntimeError('Variable "background" does not exist.', 26, $this->source); })()), "html", null, true);
echo "; padding-top: 15px; padding-bottom: 15px; min-height: 100vh; display: block;\">
";
}
// line 28
echo "
<div class=\"container\" style=\"background: #fff; max-width: 800px;\">
<style>
";
// line 33
echo " .top-wrap:after {
height: 0;
}
</style>
";
// line 38
if (array_key_exists("message", $context)) {
// line 39
echo " <div class=\"row mt-3\">
<div class=\"col-sm-12\">
<div class=\"alert alert-";
// line 41
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 41, $this->source); })()), "type", [], "any", false, false, false, 41), "html", null, true);
echo "\">
";
// line 42
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 42, $this->source); })()), "text", [], "any", false, false, false, 42), "html", null, true);
echo "
</div>
</div>
</div>
";
}
// line 47
echo "
<div class=\"row\">
<div class=\"col-sm-12\">
\t\t\t\t
\t\t\t\t";
// line 55
echo "\t\t\t\t
\t\t\t\t";
// line 57
echo " ";
if (twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 57, $this->source); })()), "isNewLandingPage", [], "method", false, false, false, 57)) {
// line 58
echo "
\t\t\t\t\t";
// line 60
echo "\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t<div class=\"col-sm-12\">
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t";
// line 64
echo "\t\t\t\t\t\t\t<div class=\"row\" style=\"min-height: 10px;\">
\t\t\t\t\t\t\t\t<div class=\"col-sm-12\" style=\"background: ";
// line 65
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 65, $this->source); })()), "getLPHeaderColor", [], "method", false, false, false, 65), "html", null, true);
echo ";\">
\t\t\t\t\t\t\t\t\t";
// line 66
$context["hide_alert_block"] = true;
// line 67
echo "\t\t\t\t\t\t\t\t\t";
$this->loadTemplate("includes/messages.html.twig", "content/landing-page.html.twig", 67)->display($context);
// line 68
echo "\t\t\t\t\t\t\t\t\t";
echo twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 68, $this->source); })()), "getLPHeader", [], "method", false, false, false, 68);
echo "
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t";
// line 73
echo "\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t";
// line 75
echo "\t\t\t\t\t\t\t\t<div class=\"col-md-6 p-3\" style=\"background: ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 75, $this->source); })()), "getLPLeftColor", [], "method", false, false, false, 75), "html", null, true);
echo ";\">
\t\t\t\t\t\t\t\t\t";
// line 76
echo twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 76, $this->source); })()), "getLPLeft", [], "method", false, false, false, 76);
echo "
\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t";
// line 79
echo "\t\t\t\t\t\t\t\t\t";
$context["buttonColor"] = ((twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 79, $this->source); })()), "getContentMetaValueByKey", ["btn_color"], "method", false, false, false, 79)) ? (twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 79, $this->source); })()), "getContentMetaValueByKey", ["btn_color"], "method", false, false, false, 79)) : ("#A41822"));
// line 80
echo "\t\t\t\t\t\t\t\t\t";
$context["buttonText"] = ((twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 80, $this->source); })()), "getContentMetaValueByKey", ["btn_text"], "method", false, false, false, 80)) ? (twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 80, $this->source); })()), "getContentMetaValueByKey", ["btn_text"], "method", false, false, false, 80)) : ("Submit"));
// line 81
echo "\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t";
// line 83
echo "\t\t\t\t\t\t\t\t\t";
$context["form"] = twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 83, $this->source); })()), "getForm", [], "method", false, false, false, 83);
// line 84
echo "\t\t\t\t\t\t\t\t\t";
if ((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 84, $this->source); })())) {
// line 85
echo "\t\t\t\t\t\t\t\t\t\t<form method=\"post\" class=\"py-4\" enctype=\"multipart/form-data\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 86
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 86, $this->source); })()), "getFormFields", [], "method", false, false, false, 86));
foreach ($context['_seq'] as $context["_key"] => $context["field"]) {
// line 87
echo "\t\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block custom-frm-label\">
\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 89
if (twig_get_attribute($this->env, $this->source, $context["field"], "getDescription", [], "method", false, false, false, 89)) {
// line 90
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"rtooltip\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["field"], "getTitle", [], "method", false, false, false, 90), "html", null, true);
echo " <i class=\"fa fa-question-circle\"></i>:
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 92
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["field"], "getDescription", [], "method", false, false, false, 92), "html", null, true);
echo "
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 100
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 103
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["field"], "getTitle", [], "method", false, false, false, 103), "html", null, true);
echo ":</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 105
echo "\t\t\t\t\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t\t\t\t\t";
// line 106
if ((twig_get_attribute($this->env, $this->source, $context["field"], "getType", [], "method", false, false, false, 106) == twig_constant("App\\Entity\\FormField::TEXT_FIELD"))) {
// line 107
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 111
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead_custom[";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["field"], "getTitle", [], "method", false, false, false, 111), "html", null, true);
echo "]\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 112
if (twig_get_attribute($this->env, $this->source, $context["field"], "getRequired", [], "method", false, false, false, 112)) {
echo " required ";
}
// line 113
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t\t\t\t\t\t";
} elseif ((twig_get_attribute($this->env, $this->source, // line 114
$context["field"], "getType", [], "any", false, false, false, 114) == twig_constant("App\\Entity\\FormField::TEXT_AREA"))) {
// line 115
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t<textarea
\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 118
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead_custom[";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["field"], "getTitle", [], "method", false, false, false, 118), "html", null, true);
echo "]\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 119
if (twig_get_attribute($this->env, $this->source, $context["field"], "getRequired", [], "method", false, false, false, 119)) {
echo " required ";
}
// line 120
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t></textarea>
\t\t\t\t\t\t\t\t\t\t\t\t";
} elseif ((twig_get_attribute($this->env, $this->source, // line 121
$context["field"], "getType", [], "any", false, false, false, 121) == twig_constant("App\\Entity\\FormField::DROP_DOWN"))) {
// line 122
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t<select class=\"form-control\" name=\"lead_custom[";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["field"], "getTitle", [], "method", false, false, false, 122), "html", null, true);
echo "]\" ";
if (twig_get_attribute($this->env, $this->source, $context["field"], "getRequired", [], "method", false, false, false, 122)) {
echo " required ";
}
echo ">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 123
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["field"], "getFormFieldOptions", [], "method", false, false, false, 123));
foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
// line 124
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "getValue", [], "method", false, false, false, 124), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "getValue", [], "method", false, false, false, 124), "html", null, true);
echo "</option>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 126
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t\t\t\t\t";
} elseif ((twig_get_attribute($this->env, $this->source, // line 127
$context["field"], "getType", [], "any", false, false, false, 127) == twig_constant("App\\Entity\\FormField::RADIO_BUTTONS"))) {
// line 128
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["field"], "getFormFieldOptions", [], "method", false, false, false, 128));
foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
// line 129
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"form-check\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"form-check-label\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"radio\" name=\"lead_custom[";
// line 131
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["field"], "getTitle", [], "method", false, false, false, 131), "html", null, true);
echo "]\" value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "getValue", [], "method", false, false, false, 131), "html", null, true);
echo "\" ";
if (twig_get_attribute($this->env, $this->source, $context["field"], "getRequired", [], "method", false, false, false, 131)) {
echo " required ";
}
echo ">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 132
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "getValue", [], "method", false, false, false, 132), "html", null, true);
echo "
\t\t\t\t\t\t\t\t\t\t\t\t\t\t </label>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 136
echo "\t\t\t\t\t\t\t\t\t\t\t\t";
} elseif ((twig_get_attribute($this->env, $this->source, $context["field"], "getType", [], "any", false, false, false, 136) == twig_constant("App\\Entity\\FormField::CHECK_BOXES"))) {
// line 137
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["field"], "getFormFieldOptions", [], "method", false, false, false, 137));
foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
// line 138
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"form-check\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"form-check-label\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" name=\"lead_custom[";
// line 140
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["field"], "getTitle", [], "method", false, false, false, 140), "html", null, true);
echo "][]\" value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "getValue", [], "method", false, false, false, 140), "html", null, true);
echo "\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 141
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["option"], "getValue", [], "method", false, false, false, 141), "html", null, true);
echo "
\t\t\t\t\t\t\t\t\t\t\t\t\t\t </label>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 145
echo "\t\t\t\t\t\t\t\t\t\t\t\t";
} elseif ((twig_get_attribute($this->env, $this->source, $context["field"], "getType", [], "any", false, false, false, 145) == twig_constant("App\\Entity\\FormField::IMAGE"))) {
// line 146
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"lead_custom_img[";
echo twig_escape_filter($this->env, twig_replace_filter(twig_get_attribute($this->env, $this->source, $context["field"], "getTitle", [], "method", false, false, false, 146), [" " => ""]), "html", null, true);
echo "]\" value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["field"], "getTitle", [], "method", false, false, false, 146), "html", null, true);
echo "\" />
\t\t\t\t\t\t\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"file\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"img_";
// line 149
echo twig_escape_filter($this->env, twig_replace_filter(twig_get_attribute($this->env, $this->source, $context["field"], "getTitle", [], "method", false, false, false, 149), [" " => ""]), "html", null, true);
echo "\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 151
if (twig_get_attribute($this->env, $this->source, $context["field"], "getRequired", [], "method", false, false, false, 151)) {
echo " required ";
}
// line 152
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\taccept=\"image/png,image/gif,image/jpeg,image/jpeg,application/pdf\"
\t\t\t\t\t\t\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t\t\t\t\t\t";
} elseif ((twig_get_attribute($this->env, $this->source, // line 154
$context["field"], "getType", [], "any", false, false, false, 154) == twig_constant("App\\Entity\\FormField::FILE"))) {
// line 155
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"lead_custom_file[";
echo twig_escape_filter($this->env, twig_replace_filter(twig_get_attribute($this->env, $this->source, $context["field"], "getTitle", [], "method", false, false, false, 155), [" " => ""]), "html", null, true);
echo "]\" value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["field"], "getTitle", [], "method", false, false, false, 155), "html", null, true);
echo "\" />
\t\t\t\t\t\t\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"file\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"file_";
// line 158
echo twig_escape_filter($this->env, twig_replace_filter(twig_get_attribute($this->env, $this->source, $context["field"], "getTitle", [], "method", false, false, false, 158), [" " => ""]), "html", null, true);
echo "\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 160
if (twig_get_attribute($this->env, $this->source, $context["field"], "getRequired", [], "method", false, false, false, 160)) {
echo " required ";
}
// line 161
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 162
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 164
echo "\t\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['field'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 166
echo "\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t<div class=\"form-row g-recaptcha\" data-sitekey=\"6LeEIlMUAAAAAGhdmJJLdJHPxaWx2GqBjber5n6B\" required></div>
\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t";
// line 169
if (twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 169, $this->source); })()), "getLPOptIn", [], "method", false, false, false, 169)) {
// line 170
echo "\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block pt-4\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"checkbox\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[optin]\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"yes\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\trequired
\t\t\t\t\t\t\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t\t\t\t\t\t\t<span>";
// line 177
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 177, $this->source); })()), "getLPOptIn", [], "method", false, false, false, 177), "html", null, true);
echo "</span>
\t\t\t\t\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 180
echo "\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t<div style=\"text-align: center;\">
\t\t\t\t\t\t\t\t\t\t\t\t<button
\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"btn mt-3\"
\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"submit\"
\t\t\t\t\t\t\t\t\t\t\t\t\tstyle=\"color: #fff; background: ";
// line 185
echo twig_escape_filter($this->env, (isset($context["buttonColor"]) || array_key_exists("buttonColor", $context) ? $context["buttonColor"] : (function () { throw new RuntimeError('Variable "buttonColor" does not exist.', 185, $this->source); })()), "html", null, true);
echo ";\"
\t\t\t\t\t\t\t\t\t\t\t\t>";
// line 186
echo twig_escape_filter($this->env, (isset($context["buttonText"]) || array_key_exists("buttonText", $context) ? $context["buttonText"] : (function () { throw new RuntimeError('Variable "buttonText" does not exist.', 186, $this->source); })()), "html", null, true);
echo "</button>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t</form>
\t\t\t\t\t\t\t\t\t";
// line 190
echo "\t\t\t\t\t\t\t\t\t";
} elseif (twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 190, $this->source); })()), "getLPFormCode", [], "method", false, false, false, 190)) {
// line 191
echo "\t\t\t\t\t\t\t\t\t\t";
echo $this->extensions['App\Twig\RCSExtension']->wordpress(twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 191, $this->source); })()), "getLPFormCode", [], "method", false, false, false, 191));
echo "
\t\t\t\t\t\t\t\t\t";
} else {
// line 193
echo "\t\t\t\t\t\t\t\t\t";
// line 194
echo "\t\t\t\t\t\t\t\t\t\t<form method=\"post\" class=\"py-4\" enctype=\"multipart/form-data\">
\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t";
// line 196
if (twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 196, $this->source); })()), "getLPFormFirstname", [], "method", false, false, false, 196)) {
// line 197
echo "\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\"><span>First Name:</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"Your First Name\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[firstname]\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\trequired
\t\t\t\t\t\t\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 207
echo "\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t";
// line 208
if (twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 208, $this->source); })()), "getLPFormLastname", [], "method", false, false, false, 208)) {
// line 209
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\"><span>Last Name:</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"Your Last Name\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[lastname]\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\trequired
\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 219
echo "\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t";
// line 220
if (twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 220, $this->source); })()), "getLPFormCompany", [], "method", false, false, false, 220)) {
// line 221
echo "\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\"><span>Company:</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"Your Company\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[company]\"
\t\t\t\t\t\t\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 230
echo "\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t";
// line 231
if (twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 231, $this->source); })()), "getLPFormAddress1", [], "method", false, false, false, 231)) {
// line 232
echo "\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\"><span>Address Line 1:</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"Your Address Line 1\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[address1]\"
\t\t\t\t\t\t\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 241
echo "\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t";
// line 242
if (twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 242, $this->source); })()), "getLPFormAddress2", [], "method", false, false, false, 242)) {
// line 243
echo "\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\"><span>Address Line 2:</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"Your Address Line 2\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[address2]\"
\t\t\t\t\t\t\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 252
echo "\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t";
// line 253
if (twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 253, $this->source); })()), "getLPFormCity", [], "method", false, false, false, 253)) {
// line 254
echo "\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\"><span>City:</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"Your City\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[city]\"
\t\t\t\t\t\t\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 263
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t";
// line 264
if (twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 264, $this->source); })()), "getLPFormState", [], "method", false, false, false, 264)) {
// line 265
echo "\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\"><span>State / Region:</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"Your State / Region\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[state]\"
\t\t\t\t\t\t\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 274
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t";
// line 275
if (twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 275, $this->source); })()), "getLPFormZip", [], "method", false, false, false, 275)) {
// line 276
echo "\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\"><span>Zip Code:</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"Your Zip Code\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[zip]\"
\t\t\t\t\t\t\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 285
echo "\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t";
// line 286
if (twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 286, $this->source); })()), "getLPFormPhone", [], "method", false, false, false, 286)) {
// line 287
echo "\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\"><span>Phone:</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"Your Phone\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[phone]\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\trequired
\t\t\t\t\t\t\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 297
echo "\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t";
// line 298
if (twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 298, $this->source); })()), "getLPFormEmail", [], "method", false, false, false, 298)) {
// line 299
echo "\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\"><span>Email:</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"Your Email Address\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[email]\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\trequired
\t\t\t\t\t\t\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 309
echo "\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t";
// line 310
if (twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 310, $this->source); })()), "getLPFormContractorType", [], "method", false, false, false, 310)) {
// line 311
echo "\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\"><span>Type of Contractor:</span></label>
\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[contractor_type]\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"Primarily Residential\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\trequired
\t\t\t\t\t\t\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t\t\t\t\t\t\t<span>Primarily Residential</span>
\t\t\t\t\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[contractor_type]\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"Primarily Commercial\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\trequired
\t\t\t\t\t\t\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t\t\t\t\t\t\t<span>Primarily Commercial</span>
\t\t\t\t\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[contractor_type]\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"Both\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\trequired
\t\t\t\t\t\t\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t\t\t\t\t\t\t<span>Both</span>
\t\t\t\t\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[contractor_type]\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"Not a Contractor\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\trequired
\t\t\t\t\t\t\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t\t\t\t\t\t\t<span>Not a Contractor</span>
\t\t\t\t\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 349
echo "\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t";
// line 350
if (twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 350, $this->source); })()), "getLPFormImage", [], "method", false, false, false, 350)) {
// line 351
echo "\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\">
\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"rtooltip\">Attach Image <i class=\"fa fa-question-circle\"></i>:
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top: -305px;left:120px;width:350px;\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\tRoofersCoffeeShop offers users the ability to post messages, submit information, and upload images to be used on this site. This information is shared with advertisers and partners associated with RoofersCoffeeShop.
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<br><br>
\t\t\t\t\t\t\t\t\t\t\t\t\t\tYou acknowledge that you have permission related to Content, Information, and Images submitted and that they do not violate any copyright laws or privacy.
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<br><br>
\t\t\t\t\t\t\t\t\t\t\t\t\t\tRoofersCoffeeShop is not responsible for the content or accuracy of any information posted and shall not be responsible for any decisions made based on such information.
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<br><br>
\t\t\t\t\t\t\t\t\t\t\t\t\t\tNOTE: Only PNG, JPG, GIF, PDF file types are supported.
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 372
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"lead_custom_img[attachment]\" value=\"attachment\" />
\t\t\t\t\t\t\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"file\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"img_attachment\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\taccept=\"image/png,image/gif,image/jpeg,image/jpeg,application/pdf\"
\t\t\t\t\t\t\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 382
echo "\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t<div class=\"form-row g-recaptcha\" data-sitekey=\"6LeEIlMUAAAAAGhdmJJLdJHPxaWx2GqBjber5n6B\"></div>
\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t";
// line 385
if (twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 385, $this->source); })()), "getLPOptIn", [], "method", false, false, false, 385)) {
// line 386
echo "\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block pt-4\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"checkbox\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[optin]\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"yes\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\trequired
\t\t\t\t\t\t\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t\t\t\t\t\t\t<span>";
// line 393
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 393, $this->source); })()), "getLPOptIn", [], "method", false, false, false, 393), "html", null, true);
echo "</span>
\t\t\t\t\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 396
echo "\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t<div style=\"text-align: center;\">
\t\t\t\t\t\t\t\t\t\t\t\t<button
\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"btn mt-3\"
\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"submit\"
\t\t\t\t\t\t\t\t\t\t\t\t\tstyle=\"color: #fff; background: ";
// line 401
echo twig_escape_filter($this->env, (isset($context["buttonColor"]) || array_key_exists("buttonColor", $context) ? $context["buttonColor"] : (function () { throw new RuntimeError('Variable "buttonColor" does not exist.', 401, $this->source); })()), "html", null, true);
echo ";\"
\t\t\t\t\t\t\t\t\t\t\t\t>";
// line 402
echo twig_escape_filter($this->env, (isset($context["buttonText"]) || array_key_exists("buttonText", $context) ? $context["buttonText"] : (function () { throw new RuntimeError('Variable "buttonText" does not exist.', 402, $this->source); })()), "html", null, true);
echo "</button>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t</form>
\t\t\t\t\t\t\t\t\t";
}
// line 406
echo "\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t";
// line 409
echo "\t\t\t\t\t\t\t\t<div class=\"col-md-6 p-3\" style=\"background: ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 409, $this->source); })()), "getLPRightColor", [], "method", false, false, false, 409), "html", null, true);
echo ";\">
\t\t\t\t\t\t\t\t\t";
// line 410
echo twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 410, $this->source); })()), "getLPRight", [], "method", false, false, false, 410);
echo "
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t";
// line 415
echo "\t\t\t\t\t\t\t<div class=\"row\" style=\"min-height: 10px;\">
\t\t\t\t\t\t\t\t<div class=\"col-md-12 p-3\" style=\"background: ";
// line 416
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 416, $this->source); })()), "getLPFooterColor", [], "method", false, false, false, 416), "html", null, true);
echo ";\">
\t\t\t\t\t\t\t\t\t";
// line 417
echo twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 417, $this->source); })()), "getLPFooter", [], "method", false, false, false, 417);
echo "
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t\t
\t\t\t\t\t
";
} else {
// line 426
echo "
";
// line 427
echo "
";
// line 429
$context["modules"] = twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 429, $this->source); })()), "getContentMetaValueByKey", ["mtm_content_modules"], "method", false, false, false, 429);
// line 430
echo " ";
if ((isset($context["modules"]) || array_key_exists("modules", $context) ? $context["modules"] : (function () { throw new RuntimeError('Variable "modules" does not exist.', 430, $this->source); })())) {
// line 431
echo " ";
$context["modules"] = $this->extensions['App\Twig\RCSExtension']->unserialize((isset($context["modules"]) || array_key_exists("modules", $context) ? $context["modules"] : (function () { throw new RuntimeError('Variable "modules" does not exist.', 431, $this->source); })()));
// line 432
echo " ";
$this->loadTemplate("content/tmpl/mtm-module-loop.html.twig", "content/landing-page.html.twig", 432)->display($context);
// line 433
echo " ";
}
// line 434
echo "
";
// line 445
echo "
";
}
// line 447
echo " </div>
</div>
</div>
";
// line 451
if ( !twig_test_empty((isset($context["background"]) || array_key_exists("background", $context) ? $context["background"] : (function () { throw new RuntimeError('Variable "background" does not exist.', 451, $this->source); })()))) {
// line 452
echo " </div>
";
}
// line 454
echo " ";
} else {
// line 455
echo " <div class=\"container\">
<div class=\"row\">
<div class=\"col-sm-8\">
";
// line 458
echo twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 458, $this->source); })()), "content_full", [], "any", false, false, false, 458);
echo "
</div>
<div class=\"col-sm-4\">
[Sidebar]
</div>
</div>
</div>
";
}
// line 466
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "content/landing-page.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 922 => 466, 911 => 458, 906 => 455, 903 => 454, 899 => 452, 897 => 451, 891 => 447, 887 => 445, 884 => 434, 881 => 433, 878 => 432, 875 => 431, 872 => 430, 870 => 429, 866 => 427, 863 => 426, 851 => 417, 847 => 416, 844 => 415, 837 => 410, 832 => 409, 828 => 406, 821 => 402, 817 => 401, 810 => 396, 804 => 393, 795 => 386, 793 => 385, 788 => 382, 776 => 372, 762 => 351, 760 => 350, 757 => 349, 717 => 311, 715 => 310, 712 => 309, 700 => 299, 698 => 298, 695 => 297, 683 => 287, 681 => 286, 678 => 285, 667 => 276, 665 => 275, 662 => 274, 651 => 265, 649 => 264, 646 => 263, 635 => 254, 633 => 253, 630 => 252, 619 => 243, 617 => 242, 614 => 241, 603 => 232, 601 => 231, 598 => 230, 587 => 221, 585 => 220, 582 => 219, 570 => 209, 568 => 208, 565 => 207, 553 => 197, 551 => 196, 547 => 194, 545 => 193, 539 => 191, 536 => 190, 530 => 186, 526 => 185, 519 => 180, 513 => 177, 504 => 170, 502 => 169, 497 => 166, 490 => 164, 486 => 162, 484 => 161, 480 => 160, 475 => 158, 466 => 155, 464 => 154, 460 => 152, 456 => 151, 451 => 149, 442 => 146, 439 => 145, 429 => 141, 423 => 140, 419 => 138, 414 => 137, 411 => 136, 401 => 132, 391 => 131, 387 => 129, 382 => 128, 380 => 127, 377 => 126, 366 => 124, 362 => 123, 353 => 122, 351 => 121, 348 => 120, 344 => 119, 339 => 118, 335 => 115, 333 => 114, 330 => 113, 326 => 112, 321 => 111, 316 => 107, 314 => 106, 311 => 105, 305 => 103, 300 => 100, 296 => 92, 290 => 90, 288 => 89, 284 => 87, 280 => 86, 277 => 85, 274 => 84, 271 => 83, 268 => 81, 265 => 80, 262 => 79, 257 => 76, 252 => 75, 249 => 73, 241 => 68, 238 => 67, 236 => 66, 232 => 65, 229 => 64, 224 => 60, 221 => 58, 218 => 57, 215 => 55, 209 => 47, 201 => 42, 197 => 41, 193 => 39, 191 => 38, 184 => 33, 178 => 28, 173 => 26, 166 => 21, 163 => 20, 161 => 19, 158 => 18, 156 => 17, 153 => 16, 151 => 15, 147 => 12, 144 => 10, 134 => 9, 116 => 7, 98 => 6, 80 => 5, 62 => 4, 39 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends \"base.html.twig\" %}
{# empty elements #}
{% block header %}{% endblock %}
{% block toolbar %}{% endblock %}
{% block footer %}{% endblock %}
{% block bottom %}{% endblock %}
{% block body %}
\t<script>
\t{# Quick fix to double scrollbar issue #}
\tdocument.documentElement.setAttribute(\"style\", \"overflow: visible;\");
\t</script>
{# Render the appropriate template file. #}
{# adjusting so all landing pages are 1 template type ... 1 column full #}
{% if true or page.template == 1 %}
{# <div class=\"container-fluid\"> #}
{% set background = page.getContentMetaValueByKey(\"rcs_body_background_color\") %}
{% if background %}
<style>
.top-wrap {
display: table;
}
</style>
<div class=\"lp-wrapper\" style=\"background: {{ background }}; padding-top: 15px; padding-bottom: 15px; min-height: 100vh; display: block;\">
{% endif %}
<div class=\"container\" style=\"background: #fff; max-width: 800px;\">
<style>
{# hack ... can't think of a better way right now... #}
.top-wrap:after {
height: 0;
}
</style>
{% if message is defined %}
<div class=\"row mt-3\">
<div class=\"col-sm-12\">
<div class=\"alert alert-{{ message.type }}\">
{{ message.text }}
</div>
</div>
</div>
{% endif %}
<div class=\"row\">
<div class=\"col-sm-12\">
\t\t\t\t
\t\t\t\t{#
\t\t\t\t{% if page.hasContent() %}
{{ page.getContentFull() | raw }}
\t\t\t\t#}
\t\t\t\t
\t\t\t\t{# Only do this if landing page uses the new admin interface #}
{% if page.isNewLandingPage() %}
\t\t\t\t\t{# display the landing page #}
\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t<div class=\"col-sm-12\">
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t{# Header #}
\t\t\t\t\t\t\t<div class=\"row\" style=\"min-height: 10px;\">
\t\t\t\t\t\t\t\t<div class=\"col-sm-12\" style=\"background: {{page.getLPHeaderColor()}};\">
\t\t\t\t\t\t\t\t\t{% set hide_alert_block = true %}
\t\t\t\t\t\t\t\t\t{% include \"includes/messages.html.twig\" %}
\t\t\t\t\t\t\t\t\t{{ page.getLPHeader()|raw }}
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t{# Body #}
\t\t\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t\t\t{# Left Column #}
\t\t\t\t\t\t\t\t<div class=\"col-md-6 p-3\" style=\"background: {{page.getLPLeftColor()}};\">
\t\t\t\t\t\t\t\t\t{{ page.getLPLeft()|raw }}
\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t{# Form #}
\t\t\t\t\t\t\t\t\t{% set buttonColor = (page.getContentMetaValueByKey(\"btn_color\") ? page.getContentMetaValueByKey(\"btn_color\") : \"#A41822\") %}
\t\t\t\t\t\t\t\t\t{% set buttonText = (page.getContentMetaValueByKey(\"btn_text\") ? page.getContentMetaValueByKey(\"btn_text\") : \"Submit\") %}
\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t{# Use the form object if it's set #}
\t\t\t\t\t\t\t\t\t{% set form = page.getForm() %}
\t\t\t\t\t\t\t\t\t{% if form %}
\t\t\t\t\t\t\t\t\t\t<form method=\"post\" class=\"py-4\" enctype=\"multipart/form-data\">
\t\t\t\t\t\t\t\t\t\t\t{% for field in form.getFormFields() %}
\t\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block custom-frm-label\">
\t\t\t\t\t\t\t\t\t\t\t\t\t{% if field.getDescription() %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"rtooltip\">{{field.getTitle()}} <i class=\"fa fa-question-circle\"></i>:
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{field.getDescription()}}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{#RoofersCoffeeShop offers users the ability to post messages, submit information, and upload images to be used on this site. This information is shared with advertisers and partners associated with RoofersCoffeeShop.
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<br><br>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tYou acknowledge that you have permission related to Content, Information, and Images submitted and that they do not violate any copyright laws or privacy.
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<br><br>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tRoofersCoffeeShop is not responsible for the content or accuracy of any information posted and shall not be responsible for any decisions made based on such information.
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<br><br>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tNOTE: Only PNG, JPG, GIF, PDF file types are supported.#}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>{{field.getTitle()}}:</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t\t\t\t\t{% if field.getType() == constant(\"App\\\\Entity\\\\FormField::TEXT_FIELD\") %}
\t\t\t\t\t\t\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{#placeholder=\"Your First Name\"#}
\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead_custom[{{field.getTitle()}}]\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if field.getRequired() %} required {% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t\t\t\t\t\t{% elseif field.getType == constant(\"App\\\\Entity\\\\FormField::TEXT_AREA\") %}
\t\t\t\t\t\t\t\t\t\t\t\t\t<textarea
\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{#placeholder=\"Your First Name\"#}
\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead_custom[{{field.getTitle()}}]\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if field.getRequired() %} required {% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t></textarea>
\t\t\t\t\t\t\t\t\t\t\t\t{% elseif field.getType == constant(\"App\\\\Entity\\\\FormField::DROP_DOWN\") %}
\t\t\t\t\t\t\t\t\t\t\t\t\t<select class=\"form-control\" name=\"lead_custom[{{field.getTitle()}}]\" {% if field.getRequired() %} required {% endif %}>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for option in field.getFormFieldOptions() %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"{{ option.getValue() }}\">{{ option.getValue() }}</option>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t\t\t\t\t\t\t{% elseif field.getType == constant(\"App\\\\Entity\\\\FormField::RADIO_BUTTONS\") %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% for option in field.getFormFieldOptions() %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"form-check\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"form-check-label\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"radio\" name=\"lead_custom[{{ field.getTitle() }}]\" value=\"{{ option.getValue() }}\" {% if field.getRequired() %} required {% endif %}>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ option.getValue() }}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t </label>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t{% elseif field.getType == constant(\"App\\\\Entity\\\\FormField::CHECK_BOXES\") %}
\t\t\t\t\t\t\t\t\t\t\t\t\t{% for option in field.getFormFieldOptions() %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"form-check\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"form-check-label\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" name=\"lead_custom[{{ field.getTitle() }}][]\" value=\"{{ option.getValue() }}\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ option.getValue() }}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t </label>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t{% elseif field.getType == constant(\"App\\\\Entity\\\\FormField::IMAGE\") %}
\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"lead_custom_img[{{field.getTitle()|replace({' ': ''})}}]\" value=\"{{field.getTitle()}}\" />
\t\t\t\t\t\t\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"file\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"img_{{field.getTitle()|replace({' ': ''})}}\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if field.getRequired() %} required {% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\taccept=\"image/png,image/gif,image/jpeg,image/jpeg,application/pdf\"
\t\t\t\t\t\t\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t\t\t\t\t\t{% elseif field.getType == constant(\"App\\\\Entity\\\\FormField::FILE\") %}
\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"lead_custom_file[{{field.getTitle()|replace({' ': ''})}}]\" value=\"{{field.getTitle()}}\" />
\t\t\t\t\t\t\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"file\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"file_{{field.getTitle()|replace({' ': ''})}}\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if field.getRequired() %} required {% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{#accept=\"image/png,image/gif,image/jpeg,image/jpeg,application/pdf\"#}
\t\t\t\t\t\t\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t<div class=\"form-row g-recaptcha\" data-sitekey=\"6LeEIlMUAAAAAGhdmJJLdJHPxaWx2GqBjber5n6B\" required></div>
\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t{% if page.getLPOptIn() %}
\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block pt-4\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"checkbox\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[optin]\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"yes\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\trequired
\t\t\t\t\t\t\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t\t\t\t\t\t\t<span>{{page.getLPOptIn()}}</span>
\t\t\t\t\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t<div style=\"text-align: center;\">
\t\t\t\t\t\t\t\t\t\t\t\t<button
\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"btn mt-3\"
\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"submit\"
\t\t\t\t\t\t\t\t\t\t\t\t\tstyle=\"color: #fff; background: {{buttonColor}};\"
\t\t\t\t\t\t\t\t\t\t\t\t>{{buttonText}}</button>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t</form>
\t\t\t\t\t\t\t\t\t{# Else use a shortcode for the form if one is set #}
\t\t\t\t\t\t\t\t\t{% elseif page.getLPFormCode() %}
\t\t\t\t\t\t\t\t\t\t{{ page.getLPFormCode() | wordpress | raw }}
\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t{# Otherwise use the selected pre-set fields #}
\t\t\t\t\t\t\t\t\t\t<form method=\"post\" class=\"py-4\" enctype=\"multipart/form-data\">
\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t{% if page.getLPFormFirstname() %}
\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\"><span>First Name:</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"Your First Name\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[firstname]\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\trequired
\t\t\t\t\t\t\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t{% if page.getLPFormLastname() %}
\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\"><span>Last Name:</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"Your Last Name\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[lastname]\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\trequired
\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t{% if page.getLPFormCompany() %}
\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\"><span>Company:</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"Your Company\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[company]\"
\t\t\t\t\t\t\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t{% if page.getLPFormAddress1() %}
\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\"><span>Address Line 1:</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"Your Address Line 1\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[address1]\"
\t\t\t\t\t\t\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t{% if page.getLPFormAddress2() %}
\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\"><span>Address Line 2:</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"Your Address Line 2\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[address2]\"
\t\t\t\t\t\t\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t{% if page.getLPFormCity() %}
\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\"><span>City:</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"Your City\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[city]\"
\t\t\t\t\t\t\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t{% if page.getLPFormState() %}
\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\"><span>State / Region:</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"Your State / Region\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[state]\"
\t\t\t\t\t\t\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t{% if page.getLPFormZip() %}
\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\"><span>Zip Code:</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"Your Zip Code\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[zip]\"
\t\t\t\t\t\t\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t{% if page.getLPFormPhone() %}
\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\"><span>Phone:</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"Your Phone\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[phone]\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\trequired
\t\t\t\t\t\t\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t{% if page.getLPFormEmail() %}
\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\"><span>Email:</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"Your Email Address\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[email]\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\trequired
\t\t\t\t\t\t\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t{% if page.getLPFormContractorType() %}
\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\"><span>Type of Contractor:</span></label>
\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[contractor_type]\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"Primarily Residential\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\trequired
\t\t\t\t\t\t\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t\t\t\t\t\t\t<span>Primarily Residential</span>
\t\t\t\t\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[contractor_type]\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"Primarily Commercial\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\trequired
\t\t\t\t\t\t\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t\t\t\t\t\t\t<span>Primarily Commercial</span>
\t\t\t\t\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[contractor_type]\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"Both\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\trequired
\t\t\t\t\t\t\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t\t\t\t\t\t\t<span>Both</span>
\t\t\t\t\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[contractor_type]\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"Not a Contractor\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\trequired
\t\t\t\t\t\t\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t\t\t\t\t\t\t<span>Not a Contractor</span>
\t\t\t\t\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t{% if page.getLPFormImage() %}
\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\">
\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"rtooltip\">Attach Image <i class=\"fa fa-question-circle\"></i>:
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top: -305px;left:120px;width:350px;\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\tRoofersCoffeeShop offers users the ability to post messages, submit information, and upload images to be used on this site. This information is shared with advertisers and partners associated with RoofersCoffeeShop.
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<br><br>
\t\t\t\t\t\t\t\t\t\t\t\t\t\tYou acknowledge that you have permission related to Content, Information, and Images submitted and that they do not violate any copyright laws or privacy.
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<br><br>
\t\t\t\t\t\t\t\t\t\t\t\t\t\tRoofersCoffeeShop is not responsible for the content or accuracy of any information posted and shall not be responsible for any decisions made based on such information.
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<br><br>
\t\t\t\t\t\t\t\t\t\t\t\t\t\tNOTE: Only PNG, JPG, GIF, PDF file types are supported.
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t{#
\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"lead_custom_img[{{field.getTitle()|replace({' ': ''})}}]\" value=\"{{field.getTitle()}}\" />
\t\t\t\t\t\t\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"file\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"img_{{field.getTitle()|replace({' ': ''})}}\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if field.getRequired() %} required {% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t\t\t\t\t\t\t#}
\t\t\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"lead_custom_img[attachment]\" value=\"attachment\" />
\t\t\t\t\t\t\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"file\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"img_attachment\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\taccept=\"image/png,image/gif,image/jpeg,image/jpeg,application/pdf\"
\t\t\t\t\t\t\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t<div class=\"form-row g-recaptcha\" data-sitekey=\"6LeEIlMUAAAAAGhdmJJLdJHPxaWx2GqBjber5n6B\"></div>
\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t{% if page.getLPOptIn() %}
\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block pt-4\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"checkbox\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[optin]\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"yes\"
\t\t\t\t\t\t\t\t\t\t\t\t\t\trequired
\t\t\t\t\t\t\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t\t\t\t\t\t\t<span>{{page.getLPOptIn()}}</span>
\t\t\t\t\t\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t<div style=\"text-align: center;\">
\t\t\t\t\t\t\t\t\t\t\t\t<button
\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"btn mt-3\"
\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"submit\"
\t\t\t\t\t\t\t\t\t\t\t\t\tstyle=\"color: #fff; background: {{buttonColor}};\"
\t\t\t\t\t\t\t\t\t\t\t\t>{{buttonText}}</button>
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t</form>
\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t{# Right Column #}
\t\t\t\t\t\t\t\t<div class=\"col-md-6 p-3\" style=\"background: {{page.getLPRightColor()}};\">
\t\t\t\t\t\t\t\t\t{{ page.getLPRight()|raw }}
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t
\t\t\t\t\t\t\t{# Footer #}
\t\t\t\t\t\t\t<div class=\"row\" style=\"min-height: 10px;\">
\t\t\t\t\t\t\t\t<div class=\"col-md-12 p-3\" style=\"background: {{page.getLPFooterColor()}};\">
\t\t\t\t\t\t\t\t\t{{ page.getLPFooter()|raw }}
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t\t
\t\t\t\t\t
{% else %}
{# looks to be working ... #}
{% set modules = page.getContentMetaValueByKey(\"mtm_content_modules\") %}
{% if modules %}
{% set modules = unserialize(modules) %}
{% include \"content/tmpl/mtm-module-loop.html.twig\" %}
{% endif %}
{#
<table class=\"table\">
{% for meta in page.getContentMeta() %}
<tr>
<td>{{ meta.getMetakey() }}:</td>
<td>{{ meta.getMetavalue() }}</td>
</tr>
{% endfor %}
</table>
#}
{% endif %}
</div>
</div>
</div>
{% if background is not empty %}
</div>
{% endif %}
{% else %}
<div class=\"container\">
<div class=\"row\">
<div class=\"col-sm-8\">
{{ page.content_full | raw }}
</div>
<div class=\"col-sm-4\">
[Sidebar]
</div>
</div>
</div>
{% endif %}
{% endblock %}
", "content/landing-page.html.twig", "/var/www/vhosts/rooferscoffeeshop.com/staging.rooferscoffeeshop.com/rcs-website/templates/content/landing-page.html.twig");
}
}