var/cache/dev/twig/dd/dd26a924bcd746fdf4212a90a11d79bd.php line 42

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* content/landing-page.html.twig */
  14. class __TwigTemplate_4d9a0cb9fe8c5ad092c5596e0dcd8f9b extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'header' => [$this'block_header'],
  24.             'toolbar' => [$this'block_toolbar'],
  25.             'footer' => [$this'block_footer'],
  26.             'bottom' => [$this'block_bottom'],
  27.             'body' => [$this'block_body'],
  28.         ];
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 1
  33.         return "base.html.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""content/landing-page.html.twig"));
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""content/landing-page.html.twig"));
  42.         $this->parent $this->loadTemplate("base.html.twig""content/landing-page.html.twig"1);
  43.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  46.         
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  48.     }
  49.     // line 4
  50.     public function block_header($context, array $blocks = [])
  51.     {
  52.         $macros $this->macros;
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  57.         
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  59.         
  60.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  61.     }
  62.     // line 5
  63.     public function block_toolbar($context, array $blocks = [])
  64.     {
  65.         $macros $this->macros;
  66.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  67.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""toolbar"));
  68.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  69.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""toolbar"));
  70.         
  71.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  72.         
  73.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  74.     }
  75.     // line 6
  76.     public function block_footer($context, array $blocks = [])
  77.     {
  78.         $macros $this->macros;
  79.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  80.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  81.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  82.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  83.         
  84.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  85.         
  86.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  87.     }
  88.     // line 7
  89.     public function block_bottom($context, array $blocks = [])
  90.     {
  91.         $macros $this->macros;
  92.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  93.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""bottom"));
  94.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  95.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""bottom"));
  96.         
  97.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  98.         
  99.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  100.     }
  101.     // line 9
  102.     public function block_body($context, array $blocks = [])
  103.     {
  104.         $macros $this->macros;
  105.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  106.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  107.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  108.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  109.         // line 10
  110.         echo "\t<script>
  111. \t";
  112.         // line 12
  113.         echo "\tdocument.documentElement.setAttribute(\"style\", \"overflow: visible;\");
  114. \t</script>
  115.     ";
  116.         // line 15
  117.         echo "    ";
  118.         // line 16
  119.         echo "    ";
  120.         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"falsefalsefalse16) == 1))) {
  121.             // line 17
  122.             echo "        ";
  123.             // line 18
  124.             echo "        
  125.         ";
  126.             // line 19
  127.             $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"falsefalsefalse19);
  128.             // line 20
  129.             echo "        ";
  130.             if ((isset($context["background"]) || array_key_exists("background"$context) ? $context["background"] : (function () { throw new RuntimeError('Variable "background" does not exist.'20$this->source); })())) {
  131.                 // line 21
  132.                 echo "            <style>
  133.                 .top-wrap {
  134.                     display: table;
  135.                 }
  136.             </style>
  137.             <div class=\"lp-wrapper\" style=\"background: ";
  138.                 // line 26
  139.                 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"nulltrue);
  140.                 echo "; padding-top: 15px; padding-bottom: 15px; min-height: 100vh; display: block;\">
  141.         ";
  142.             }
  143.             // line 28
  144.             echo "        
  145.         <div class=\"container\" style=\"background: #fff; max-width: 800px;\">
  146.         
  147.         <style>
  148.             ";
  149.             // line 33
  150.             echo "            .top-wrap:after {
  151.                 height: 0;
  152.             }
  153.         </style>
  154.         
  155.             ";
  156.             // line 38
  157.             if (array_key_exists("message"$context)) {
  158.                 // line 39
  159.                 echo "                <div class=\"row mt-3\">
  160.                     <div class=\"col-sm-12\">
  161.                         <div class=\"alert alert-";
  162.                 // line 41
  163.                 echo twig_escape_filter($this->envtwig_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"falsefalsefalse41), "html"nulltrue);
  164.                 echo "\">
  165.                             ";
  166.                 // line 42
  167.                 echo twig_escape_filter($this->envtwig_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"falsefalsefalse42), "html"nulltrue);
  168.                 echo "
  169.                         </div>
  170.                     </div>
  171.                 </div>
  172.             ";
  173.             }
  174.             // line 47
  175.             echo "        
  176.             <div class=\"row\">
  177.                 <div class=\"col-sm-12\">
  178. \t\t\t\t
  179. \t\t\t\t";
  180.             // line 55
  181.             echo "\t\t\t\t
  182. \t\t\t\t";
  183.             // line 57
  184.             echo "                ";
  185.             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"falsefalsefalse57)) {
  186.                 // line 58
  187.                 echo "                    
  188. \t\t\t\t\t";
  189.                 // line 60
  190.                 echo "\t\t\t\t\t<div class=\"row\">
  191. \t\t\t\t\t\t<div class=\"col-sm-12\">
  192. \t\t\t\t\t\t\t
  193. \t\t\t\t\t\t\t";
  194.                 // line 64
  195.                 echo "\t\t\t\t\t\t\t<div class=\"row\" style=\"min-height: 10px;\">
  196. \t\t\t\t\t\t\t\t<div class=\"col-sm-12\" style=\"background: ";
  197.                 // line 65
  198.                 echo twig_escape_filter($this->envtwig_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"falsefalsefalse65), "html"nulltrue);
  199.                 echo ";\">
  200. \t\t\t\t\t\t\t\t\t";
  201.                 // line 66
  202.                 $context["hide_alert_block"] = true;
  203.                 // line 67
  204.                 echo "\t\t\t\t\t\t\t\t\t";
  205.                 $this->loadTemplate("includes/messages.html.twig""content/landing-page.html.twig"67)->display($context);
  206.                 // line 68
  207.                 echo "\t\t\t\t\t\t\t\t\t";
  208.                 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"falsefalsefalse68);
  209.                 echo "
  210. \t\t\t\t\t\t\t\t</div>
  211. \t\t\t\t\t\t\t</div>
  212. \t\t\t\t\t\t\t
  213. \t\t\t\t\t\t\t";
  214.                 // line 73
  215.                 echo "\t\t\t\t\t\t\t<div class=\"row\">
  216. \t\t\t\t\t\t\t\t";
  217.                 // line 75
  218.                 echo "\t\t\t\t\t\t\t\t<div class=\"col-md-6 p-3\" style=\"background: ";
  219.                 echo twig_escape_filter($this->envtwig_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"falsefalsefalse75), "html"nulltrue);
  220.                 echo ";\">
  221. \t\t\t\t\t\t\t\t\t";
  222.                 // line 76
  223.                 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"falsefalsefalse76);
  224.                 echo "
  225. \t\t\t\t\t\t\t\t\t
  226. \t\t\t\t\t\t\t\t\t";
  227.                 // line 79
  228.                 echo "\t\t\t\t\t\t\t\t\t";
  229.                 $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"falsefalsefalse79)) ? (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"falsefalsefalse79)) : ("#A41822"));
  230.                 // line 80
  231.                 echo "\t\t\t\t\t\t\t\t\t";
  232.                 $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"falsefalsefalse80)) ? (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"falsefalsefalse80)) : ("Submit"));
  233.                 // line 81
  234.                 echo "\t\t\t\t\t\t\t\t\t
  235. \t\t\t\t\t\t\t\t\t";
  236.                 // line 83
  237.                 echo "\t\t\t\t\t\t\t\t\t";
  238.                 $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"falsefalsefalse83);
  239.                 // line 84
  240.                 echo "\t\t\t\t\t\t\t\t\t";
  241.                 if ((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'84$this->source); })())) {
  242.                     // line 85
  243.                     echo "\t\t\t\t\t\t\t\t\t\t<form method=\"post\" class=\"py-4\" enctype=\"multipart/form-data\">
  244. \t\t\t\t\t\t\t\t\t\t\t";
  245.                     // line 86
  246.                     $context['_parent'] = $context;
  247.                     $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"falsefalsefalse86));
  248.                     foreach ($context['_seq'] as $context["_key"] => $context["field"]) {
  249.                         // line 87
  250.                         echo "\t\t\t\t\t\t\t\t\t\t\t\t
  251. \t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block custom-frm-label\">
  252. \t\t\t\t\t\t\t\t\t\t\t\t\t";
  253.                         // line 89
  254.                         if (twig_get_attribute($this->env$this->source$context["field"], "getDescription", [], "method"falsefalsefalse89)) {
  255.                             // line 90
  256.                             echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"rtooltip\">";
  257.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["field"], "getTitle", [], "method"falsefalsefalse90), "html"nulltrue);
  258.                             echo " <i class=\"fa fa-question-circle\"></i>:
  259. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"\">
  260. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  261.                             // line 92
  262.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["field"], "getDescription", [], "method"falsefalsefalse92), "html"nulltrue);
  263.                             echo "
  264. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  265.                             // line 100
  266.                             echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  267. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</span>
  268. \t\t\t\t\t\t\t\t\t\t\t\t\t";
  269.                         } else {
  270.                             // line 103
  271.                             echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>";
  272.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["field"], "getTitle", [], "method"falsefalsefalse103), "html"nulltrue);
  273.                             echo ":</span>
  274. \t\t\t\t\t\t\t\t\t\t\t\t\t";
  275.                         }
  276.                         // line 105
  277.                         echo "\t\t\t\t\t\t\t\t\t\t\t\t</label>
  278. \t\t\t\t\t\t\t\t\t\t\t\t";
  279.                         // line 106
  280.                         if ((twig_get_attribute($this->env$this->source$context["field"], "getType", [], "method"falsefalsefalse106) == twig_constant("App\\Entity\\FormField::TEXT_FIELD"))) {
  281.                             // line 107
  282.                             echo "\t\t\t\t\t\t\t\t\t\t\t\t\t<input
  283. \t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"text\"
  284. \t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
  285. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  286.                             // line 111
  287.                             echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead_custom[";
  288.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["field"], "getTitle", [], "method"falsefalsefalse111), "html"nulltrue);
  289.                             echo "]\"
  290. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  291.                             // line 112
  292.                             if (twig_get_attribute($this->env$this->source$context["field"], "getRequired", [], "method"falsefalsefalse112)) {
  293.                                 echo " required ";
  294.                             }
  295.                             // line 113
  296.                             echo "\t\t\t\t\t\t\t\t\t\t\t\t\t/>
  297. \t\t\t\t\t\t\t\t\t\t\t\t";
  298.                         } elseif ((twig_get_attribute($this->env$this->source,                         // line 114
  299. $context["field"], "getType", [], "any"falsefalsefalse114) == twig_constant("App\\Entity\\FormField::TEXT_AREA"))) {
  300.                             // line 115
  301.                             echo "\t\t\t\t\t\t\t\t\t\t\t\t\t<textarea
  302. \t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
  303. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  304.                             // line 118
  305.                             echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead_custom[";
  306.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["field"], "getTitle", [], "method"falsefalsefalse118), "html"nulltrue);
  307.                             echo "]\"
  308. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  309.                             // line 119
  310.                             if (twig_get_attribute($this->env$this->source$context["field"], "getRequired", [], "method"falsefalsefalse119)) {
  311.                                 echo " required ";
  312.                             }
  313.                             // line 120
  314.                             echo "\t\t\t\t\t\t\t\t\t\t\t\t\t></textarea>
  315. \t\t\t\t\t\t\t\t\t\t\t\t";
  316.                         } elseif ((twig_get_attribute($this->env$this->source,                         // line 121
  317. $context["field"], "getType", [], "any"falsefalsefalse121) == twig_constant("App\\Entity\\FormField::DROP_DOWN"))) {
  318.                             // line 122
  319.                             echo "\t\t\t\t\t\t\t\t\t\t\t\t\t<select class=\"form-control\" name=\"lead_custom[";
  320.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["field"], "getTitle", [], "method"falsefalsefalse122), "html"nulltrue);
  321.                             echo "]\" ";
  322.                             if (twig_get_attribute($this->env$this->source$context["field"], "getRequired", [], "method"falsefalsefalse122)) {
  323.                                 echo " required ";
  324.                             }
  325.                             echo ">
  326. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  327.                             // line 123
  328.                             $context['_parent'] = $context;
  329.                             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["field"], "getFormFieldOptions", [], "method"falsefalsefalse123));
  330.                             foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
  331.                                 // line 124
  332.                                 echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"";
  333.                                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["option"], "getValue", [], "method"falsefalsefalse124), "html"nulltrue);
  334.                                 echo "\">";
  335.                                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["option"], "getValue", [], "method"falsefalsefalse124), "html"nulltrue);
  336.                                 echo "</option>
  337. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  338.                             }
  339.                             $_parent $context['_parent'];
  340.                             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
  341.                             $context array_intersect_key($context$_parent) + $_parent;
  342.                             // line 126
  343.                             echo "\t\t\t\t\t\t\t\t\t\t\t\t\t</select>
  344. \t\t\t\t\t\t\t\t\t\t\t\t";
  345.                         } elseif ((twig_get_attribute($this->env$this->source,                         // line 127
  346. $context["field"], "getType", [], "any"falsefalsefalse127) == twig_constant("App\\Entity\\FormField::RADIO_BUTTONS"))) {
  347.                             // line 128
  348.                             echo "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  349.                             $context['_parent'] = $context;
  350.                             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["field"], "getFormFieldOptions", [], "method"falsefalsefalse128));
  351.                             foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
  352.                                 // line 129
  353.                                 echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"form-check\">
  354. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"form-check-label\">
  355. \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[";
  356.                                 // line 131
  357.                                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["field"], "getTitle", [], "method"falsefalsefalse131), "html"nulltrue);
  358.                                 echo "]\" value=\"";
  359.                                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["option"], "getValue", [], "method"falsefalsefalse131), "html"nulltrue);
  360.                                 echo "\" ";
  361.                                 if (twig_get_attribute($this->env$this->source$context["field"], "getRequired", [], "method"falsefalsefalse131)) {
  362.                                     echo " required ";
  363.                                 }
  364.                                 echo ">
  365. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  366.                                 // line 132
  367.                                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["option"], "getValue", [], "method"falsefalsefalse132), "html"nulltrue);
  368.                                 echo "
  369. \t\t\t\t\t\t\t\t\t\t\t\t\t\t  </label>
  370. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  371. \t\t\t\t\t\t\t\t\t\t\t\t\t";
  372.                             }
  373.                             $_parent $context['_parent'];
  374.                             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
  375.                             $context array_intersect_key($context$_parent) + $_parent;
  376.                             // line 136
  377.                             echo "\t\t\t\t\t\t\t\t\t\t\t\t";
  378.                         } elseif ((twig_get_attribute($this->env$this->source$context["field"], "getType", [], "any"falsefalsefalse136) == twig_constant("App\\Entity\\FormField::CHECK_BOXES"))) {
  379.                             // line 137
  380.                             echo "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  381.                             $context['_parent'] = $context;
  382.                             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["field"], "getFormFieldOptions", [], "method"falsefalsefalse137));
  383.                             foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
  384.                                 // line 138
  385.                                 echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"form-check\">
  386. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"form-check-label\">
  387. \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[";
  388.                                 // line 140
  389.                                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["field"], "getTitle", [], "method"falsefalsefalse140), "html"nulltrue);
  390.                                 echo "][]\" value=\"";
  391.                                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["option"], "getValue", [], "method"falsefalsefalse140), "html"nulltrue);
  392.                                 echo "\">
  393. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  394.                                 // line 141
  395.                                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["option"], "getValue", [], "method"falsefalsefalse141), "html"nulltrue);
  396.                                 echo "
  397. \t\t\t\t\t\t\t\t\t\t\t\t\t\t  </label>
  398. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  399. \t\t\t\t\t\t\t\t\t\t\t\t\t";
  400.                             }
  401.                             $_parent $context['_parent'];
  402.                             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
  403.                             $context array_intersect_key($context$_parent) + $_parent;
  404.                             // line 145
  405.                             echo "\t\t\t\t\t\t\t\t\t\t\t\t";
  406.                         } elseif ((twig_get_attribute($this->env$this->source$context["field"], "getType", [], "any"falsefalsefalse145) == twig_constant("App\\Entity\\FormField::IMAGE"))) {
  407.                             // line 146
  408.                             echo "\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"lead_custom_img[";
  409.                             echo twig_escape_filter($this->envtwig_replace_filter(twig_get_attribute($this->env$this->source$context["field"], "getTitle", [], "method"falsefalsefalse146), [" " => ""]), "html"nulltrue);
  410.                             echo "]\" value=\"";
  411.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["field"], "getTitle", [], "method"falsefalsefalse146), "html"nulltrue);
  412.                             echo "\" />
  413. \t\t\t\t\t\t\t\t\t\t\t\t\t<input
  414. \t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"file\"
  415. \t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"img_";
  416.                             // line 149
  417.                             echo twig_escape_filter($this->envtwig_replace_filter(twig_get_attribute($this->env$this->source$context["field"], "getTitle", [], "method"falsefalsefalse149), [" " => ""]), "html"nulltrue);
  418.                             echo "\"
  419. \t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
  420. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  421.                             // line 151
  422.                             if (twig_get_attribute($this->env$this->source$context["field"], "getRequired", [], "method"falsefalsefalse151)) {
  423.                                 echo " required ";
  424.                             }
  425.                             // line 152
  426.                             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\"
  427. \t\t\t\t\t\t\t\t\t\t\t\t\t/>
  428. \t\t\t\t\t\t\t\t\t\t\t\t";
  429.                         } elseif ((twig_get_attribute($this->env$this->source,                         // line 154
  430. $context["field"], "getType", [], "any"falsefalsefalse154) == twig_constant("App\\Entity\\FormField::FILE"))) {
  431.                             // line 155
  432.                             echo "\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"lead_custom_file[";
  433.                             echo twig_escape_filter($this->envtwig_replace_filter(twig_get_attribute($this->env$this->source$context["field"], "getTitle", [], "method"falsefalsefalse155), [" " => ""]), "html"nulltrue);
  434.                             echo "]\" value=\"";
  435.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["field"], "getTitle", [], "method"falsefalsefalse155), "html"nulltrue);
  436.                             echo "\" />
  437. \t\t\t\t\t\t\t\t\t\t\t\t\t<input
  438. \t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"file\"
  439. \t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"file_";
  440.                             // line 158
  441.                             echo twig_escape_filter($this->envtwig_replace_filter(twig_get_attribute($this->env$this->source$context["field"], "getTitle", [], "method"falsefalsefalse158), [" " => ""]), "html"nulltrue);
  442.                             echo "\"
  443. \t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
  444. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  445.                             // line 160
  446.                             if (twig_get_attribute($this->env$this->source$context["field"], "getRequired", [], "method"falsefalsefalse160)) {
  447.                                 echo " required ";
  448.                             }
  449.                             // line 161
  450.                             echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  451.                             // line 162
  452.                             echo "\t\t\t\t\t\t\t\t\t\t\t\t\t/>
  453. \t\t\t\t\t\t\t\t\t\t\t\t";
  454.                         }
  455.                         // line 164
  456.                         echo "\t\t\t\t\t\t\t\t\t\t\t\t
  457. \t\t\t\t\t\t\t\t\t\t\t";
  458.                     }
  459.                     $_parent $context['_parent'];
  460.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['field'], $context['_parent'], $context['loop']);
  461.                     $context array_intersect_key($context$_parent) + $_parent;
  462.                     // line 166
  463.                     echo "\t\t\t\t\t\t\t\t\t\t\t
  464. \t\t\t\t\t\t\t\t\t\t\t<div class=\"form-row g-recaptcha\" data-sitekey=\"6LeEIlMUAAAAAGhdmJJLdJHPxaWx2GqBjber5n6B\" required></div>
  465. \t\t\t\t\t\t\t\t\t\t\t
  466. \t\t\t\t\t\t\t\t\t\t\t";
  467.                     // line 169
  468.                     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"falsefalsefalse169)) {
  469.                         // line 170
  470.                         echo "\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block pt-4\">
  471. \t\t\t\t\t\t\t\t\t\t\t\t\t<input
  472. \t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"checkbox\"
  473. \t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[optin]\"
  474. \t\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"yes\"
  475. \t\t\t\t\t\t\t\t\t\t\t\t\t\trequired
  476. \t\t\t\t\t\t\t\t\t\t\t\t\t/>
  477. \t\t\t\t\t\t\t\t\t\t\t\t\t<span>";
  478.                         // line 177
  479.                         echo twig_escape_filter($this->envtwig_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"falsefalsefalse177), "html"nulltrue);
  480.                         echo "</span>
  481. \t\t\t\t\t\t\t\t\t\t\t\t</label>
  482. \t\t\t\t\t\t\t\t\t\t\t";
  483.                     }
  484.                     // line 180
  485.                     echo "\t\t\t\t\t\t\t\t\t\t\t
  486. \t\t\t\t\t\t\t\t\t\t\t<div style=\"text-align: center;\">
  487. \t\t\t\t\t\t\t\t\t\t\t\t<button 
  488. \t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"btn mt-3\"
  489. \t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"submit\"
  490. \t\t\t\t\t\t\t\t\t\t\t\t\tstyle=\"color: #fff; background: ";
  491.                     // line 185
  492.                     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"nulltrue);
  493.                     echo ";\"
  494. \t\t\t\t\t\t\t\t\t\t\t\t>";
  495.                     // line 186
  496.                     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"nulltrue);
  497.                     echo "</button>
  498. \t\t\t\t\t\t\t\t\t\t\t</div>
  499. \t\t\t\t\t\t\t\t\t\t</form>
  500. \t\t\t\t\t\t\t\t\t";
  501.                     // line 190
  502.                     echo "\t\t\t\t\t\t\t\t\t";
  503.                 } 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"falsefalsefalse190)) {
  504.                     // line 191
  505.                     echo "\t\t\t\t\t\t\t\t\t\t";
  506.                     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"falsefalsefalse191));
  507.                     echo "
  508. \t\t\t\t\t\t\t\t\t";
  509.                 } else {
  510.                     // line 193
  511.                     echo "\t\t\t\t\t\t\t\t\t";
  512.                     // line 194
  513.                     echo "\t\t\t\t\t\t\t\t\t\t<form method=\"post\" class=\"py-4\" enctype=\"multipart/form-data\">
  514. \t\t\t\t\t\t\t\t\t\t\t
  515. \t\t\t\t\t\t\t\t\t\t\t";
  516.                     // line 196
  517.                     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"falsefalsefalse196)) {
  518.                         // line 197
  519.                         echo "\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\"><span>First Name:</span>
  520. \t\t\t\t\t\t\t\t\t\t\t\t\t<input
  521. \t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"text\"
  522. \t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
  523. \t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"Your First Name\"
  524. \t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[firstname]\"
  525. \t\t\t\t\t\t\t\t\t\t\t\t\t\trequired
  526. \t\t\t\t\t\t\t\t\t\t\t\t\t/>
  527. \t\t\t\t\t\t\t\t\t\t\t\t</label>
  528. \t\t\t\t\t\t\t\t\t\t\t";
  529.                     }
  530.                     // line 207
  531.                     echo "\t\t\t\t\t\t\t\t\t\t\t
  532. \t\t\t\t\t\t\t\t\t\t\t";
  533.                     // line 208
  534.                     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"falsefalsefalse208)) {
  535.                         // line 209
  536.                         echo "\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\"><span>Last Name:</span>
  537. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<input
  538. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"text\"
  539. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
  540. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"Your Last Name\"
  541. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[lastname]\"
  542. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\trequired
  543. \t\t\t\t\t\t\t\t\t\t\t\t\t\t/>
  544. \t\t\t\t\t\t\t\t\t\t\t\t\t</label>
  545. \t\t\t\t\t\t\t\t\t\t\t";
  546.                     }
  547.                     // line 219
  548.                     echo "\t\t\t\t\t\t\t\t\t\t\t
  549. \t\t\t\t\t\t\t\t\t\t\t";
  550.                     // line 220
  551.                     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"falsefalsefalse220)) {
  552.                         // line 221
  553.                         echo "\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\"><span>Company:</span>
  554. \t\t\t\t\t\t\t\t\t\t\t\t\t<input
  555. \t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"text\"
  556. \t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
  557. \t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"Your Company\"
  558. \t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[company]\"
  559. \t\t\t\t\t\t\t\t\t\t\t\t\t/>
  560. \t\t\t\t\t\t\t\t\t\t\t\t</label>
  561. \t\t\t\t\t\t\t\t\t\t\t";
  562.                     }
  563.                     // line 230
  564.                     echo "\t\t\t\t\t\t\t\t\t\t\t
  565. \t\t\t\t\t\t\t\t\t\t\t";
  566.                     // line 231
  567.                     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"falsefalsefalse231)) {
  568.                         // line 232
  569.                         echo "\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\"><span>Address Line 1:</span>
  570. \t\t\t\t\t\t\t\t\t\t\t\t\t<input
  571. \t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"text\"
  572. \t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
  573. \t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"Your Address Line 1\"
  574. \t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[address1]\"
  575. \t\t\t\t\t\t\t\t\t\t\t\t\t/>
  576. \t\t\t\t\t\t\t\t\t\t\t\t</label>
  577. \t\t\t\t\t\t\t\t\t\t\t";
  578.                     }
  579.                     // line 241
  580.                     echo "\t\t\t\t\t\t\t\t\t\t\t
  581. \t\t\t\t\t\t\t\t\t\t\t";
  582.                     // line 242
  583.                     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"falsefalsefalse242)) {
  584.                         // line 243
  585.                         echo "\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\"><span>Address Line 2:</span>
  586. \t\t\t\t\t\t\t\t\t\t\t\t\t<input
  587. \t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"text\"
  588. \t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
  589. \t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"Your Address Line 2\"
  590. \t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[address2]\"
  591. \t\t\t\t\t\t\t\t\t\t\t\t\t/>
  592. \t\t\t\t\t\t\t\t\t\t\t\t</label>
  593. \t\t\t\t\t\t\t\t\t\t\t";
  594.                     }
  595.                     // line 252
  596.                     echo "\t\t\t\t\t\t\t\t\t\t\t
  597. \t\t\t\t\t\t\t\t\t\t\t";
  598.                     // line 253
  599.                     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"falsefalsefalse253)) {
  600.                         // line 254
  601.                         echo "\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\"><span>City:</span>
  602. \t\t\t\t\t\t\t\t\t\t\t\t\t<input
  603. \t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"text\"
  604. \t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
  605. \t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"Your City\"
  606. \t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[city]\"
  607. \t\t\t\t\t\t\t\t\t\t\t\t\t/>
  608. \t\t\t\t\t\t\t\t\t\t\t\t</label>
  609. \t\t\t\t\t\t\t\t\t\t\t";
  610.                     }
  611.                     // line 263
  612.                     echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
  613. \t\t\t\t\t\t\t\t\t\t\t";
  614.                     // line 264
  615.                     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"falsefalsefalse264)) {
  616.                         // line 265
  617.                         echo "\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\"><span>State / Region:</span>
  618. \t\t\t\t\t\t\t\t\t\t\t\t\t<input
  619. \t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"text\"
  620. \t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
  621. \t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"Your State / Region\"
  622. \t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[state]\"
  623. \t\t\t\t\t\t\t\t\t\t\t\t\t/>
  624. \t\t\t\t\t\t\t\t\t\t\t\t</label>
  625. \t\t\t\t\t\t\t\t\t\t\t";
  626.                     }
  627.                     // line 274
  628.                     echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
  629. \t\t\t\t\t\t\t\t\t\t\t";
  630.                     // line 275
  631.                     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"falsefalsefalse275)) {
  632.                         // line 276
  633.                         echo "\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\"><span>Zip Code:</span>
  634. \t\t\t\t\t\t\t\t\t\t\t\t\t<input
  635. \t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"text\"
  636. \t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
  637. \t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"Your Zip Code\"
  638. \t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[zip]\"
  639. \t\t\t\t\t\t\t\t\t\t\t\t\t/>
  640. \t\t\t\t\t\t\t\t\t\t\t\t</label>
  641. \t\t\t\t\t\t\t\t\t\t\t";
  642.                     }
  643.                     // line 285
  644.                     echo "\t\t\t\t\t\t\t\t\t\t\t
  645. \t\t\t\t\t\t\t\t\t\t\t";
  646.                     // line 286
  647.                     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"falsefalsefalse286)) {
  648.                         // line 287
  649.                         echo "\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\"><span>Phone:</span>
  650. \t\t\t\t\t\t\t\t\t\t\t\t\t<input
  651. \t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"text\"
  652. \t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
  653. \t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"Your Phone\"
  654. \t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[phone]\"
  655. \t\t\t\t\t\t\t\t\t\t\t\t\t\trequired
  656. \t\t\t\t\t\t\t\t\t\t\t\t\t/>
  657. \t\t\t\t\t\t\t\t\t\t\t\t</label>
  658. \t\t\t\t\t\t\t\t\t\t\t";
  659.                     }
  660.                     // line 297
  661.                     echo "\t\t\t\t\t\t\t\t\t\t\t
  662. \t\t\t\t\t\t\t\t\t\t\t";
  663.                     // line 298
  664.                     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"falsefalsefalse298)) {
  665.                         // line 299
  666.                         echo "\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\"><span>Email:</span>
  667. \t\t\t\t\t\t\t\t\t\t\t\t\t<input
  668. \t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"text\"
  669. \t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
  670. \t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"Your Email Address\"
  671. \t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[email]\"
  672. \t\t\t\t\t\t\t\t\t\t\t\t\t\trequired
  673. \t\t\t\t\t\t\t\t\t\t\t\t\t/>
  674. \t\t\t\t\t\t\t\t\t\t\t\t</label>
  675. \t\t\t\t\t\t\t\t\t\t\t";
  676.                     }
  677.                     // line 309
  678.                     echo "\t\t\t\t\t\t\t\t\t\t\t
  679. \t\t\t\t\t\t\t\t\t\t\t";
  680.                     // line 310
  681.                     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"falsefalsefalse310)) {
  682.                         // line 311
  683.                         echo "\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\"><span>Type of Contractor:</span></label>
  684. \t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\">
  685. \t\t\t\t\t\t\t\t\t\t\t\t\t<input
  686. \t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"
  687. \t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[contractor_type]\"
  688. \t\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"Primarily Residential\"
  689. \t\t\t\t\t\t\t\t\t\t\t\t\t\trequired
  690. \t\t\t\t\t\t\t\t\t\t\t\t\t/>
  691. \t\t\t\t\t\t\t\t\t\t\t\t\t<span>Primarily Residential</span>
  692. \t\t\t\t\t\t\t\t\t\t\t\t</label>
  693. \t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\">
  694. \t\t\t\t\t\t\t\t\t\t\t\t\t<input
  695. \t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"
  696. \t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[contractor_type]\"
  697. \t\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"Primarily Commercial\"
  698. \t\t\t\t\t\t\t\t\t\t\t\t\t\trequired
  699. \t\t\t\t\t\t\t\t\t\t\t\t\t/>
  700. \t\t\t\t\t\t\t\t\t\t\t\t\t<span>Primarily Commercial</span>
  701. \t\t\t\t\t\t\t\t\t\t\t\t</label>
  702. \t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\">
  703. \t\t\t\t\t\t\t\t\t\t\t\t\t<input
  704. \t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"
  705. \t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[contractor_type]\"
  706. \t\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"Both\"
  707. \t\t\t\t\t\t\t\t\t\t\t\t\t\trequired
  708. \t\t\t\t\t\t\t\t\t\t\t\t\t/>
  709. \t\t\t\t\t\t\t\t\t\t\t\t\t<span>Both</span>
  710. \t\t\t\t\t\t\t\t\t\t\t\t</label>
  711. \t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\">
  712. \t\t\t\t\t\t\t\t\t\t\t\t\t<input
  713. \t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"
  714. \t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[contractor_type]\"
  715. \t\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"Not a Contractor\"
  716. \t\t\t\t\t\t\t\t\t\t\t\t\t\trequired
  717. \t\t\t\t\t\t\t\t\t\t\t\t\t/>
  718. \t\t\t\t\t\t\t\t\t\t\t\t\t<span>Not a Contractor</span>
  719. \t\t\t\t\t\t\t\t\t\t\t\t</label>
  720. \t\t\t\t\t\t\t\t\t\t\t";
  721.                     }
  722.                     // line 349
  723.                     echo "\t\t\t\t\t\t\t\t\t\t\t
  724. \t\t\t\t\t\t\t\t\t\t\t";
  725.                     // line 350
  726.                     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"falsefalsefalse350)) {
  727.                         // line 351
  728.                         echo "\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\">
  729. \t\t\t\t\t\t\t\t\t\t\t\t<span class=\"rtooltip\">Attach Image <i class=\"fa fa-question-circle\"></i>:
  730. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top: -305px;left:120px;width:350px;\">
  731. \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.  
  732. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<br><br>
  733. \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.   
  734. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<br><br>
  735. \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.
  736. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<br><br>
  737. \t\t\t\t\t\t\t\t\t\t\t\t\t\tNOTE:   Only PNG, JPG, GIF, PDF file types are supported.
  738. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  739. \t\t\t\t\t\t\t\t\t\t\t\t</span>
  740. \t\t\t\t\t\t\t\t\t\t\t\t\t";
  741.                         // line 372
  742.                         echo "\t\t\t\t\t\t\t\t\t\t\t\t\t
  743. \t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"lead_custom_img[attachment]\" value=\"attachment\" />
  744. \t\t\t\t\t\t\t\t\t\t\t\t\t<input
  745. \t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"file\"
  746. \t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"img_attachment\"
  747. \t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
  748. \t\t\t\t\t\t\t\t\t\t\t\t\t\taccept=\"image/png,image/gif,image/jpeg,image/jpeg,application/pdf\"
  749. \t\t\t\t\t\t\t\t\t\t\t\t\t/>
  750. \t\t\t\t\t\t\t\t\t\t\t\t</label>
  751. \t\t\t\t\t\t\t\t\t\t\t";
  752.                     }
  753.                     // line 382
  754.                     echo "\t\t\t\t\t\t\t\t\t\t\t
  755. \t\t\t\t\t\t\t\t\t\t\t<div class=\"form-row g-recaptcha\" data-sitekey=\"6LeEIlMUAAAAAGhdmJJLdJHPxaWx2GqBjber5n6B\"></div>
  756. \t\t\t\t\t\t\t\t\t\t\t
  757. \t\t\t\t\t\t\t\t\t\t\t";
  758.                     // line 385
  759.                     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"falsefalsefalse385)) {
  760.                         // line 386
  761.                         echo "\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block pt-4\">
  762. \t\t\t\t\t\t\t\t\t\t\t\t\t<input
  763. \t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"checkbox\"
  764. \t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[optin]\"
  765. \t\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"yes\"
  766. \t\t\t\t\t\t\t\t\t\t\t\t\t\trequired
  767. \t\t\t\t\t\t\t\t\t\t\t\t\t/>
  768. \t\t\t\t\t\t\t\t\t\t\t\t\t<span>";
  769.                         // line 393
  770.                         echo twig_escape_filter($this->envtwig_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"falsefalsefalse393), "html"nulltrue);
  771.                         echo "</span>
  772. \t\t\t\t\t\t\t\t\t\t\t\t</label>
  773. \t\t\t\t\t\t\t\t\t\t\t";
  774.                     }
  775.                     // line 396
  776.                     echo "\t\t\t\t\t\t\t\t\t\t\t
  777. \t\t\t\t\t\t\t\t\t\t\t<div style=\"text-align: center;\">
  778. \t\t\t\t\t\t\t\t\t\t\t\t<button 
  779. \t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"btn mt-3\"
  780. \t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"submit\"
  781. \t\t\t\t\t\t\t\t\t\t\t\t\tstyle=\"color: #fff; background: ";
  782.                     // line 401
  783.                     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"nulltrue);
  784.                     echo ";\"
  785. \t\t\t\t\t\t\t\t\t\t\t\t>";
  786.                     // line 402
  787.                     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"nulltrue);
  788.                     echo "</button>
  789. \t\t\t\t\t\t\t\t\t\t\t</div>
  790. \t\t\t\t\t\t\t\t\t\t</form>
  791. \t\t\t\t\t\t\t\t\t";
  792.                 }
  793.                 // line 406
  794.                 echo "\t\t\t\t\t\t\t\t\t
  795. \t\t\t\t\t\t\t\t</div>
  796. \t\t\t\t\t\t\t\t";
  797.                 // line 409
  798.                 echo "\t\t\t\t\t\t\t\t<div class=\"col-md-6 p-3\" style=\"background: ";
  799.                 echo twig_escape_filter($this->envtwig_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"falsefalsefalse409), "html"nulltrue);
  800.                 echo ";\">
  801. \t\t\t\t\t\t\t\t\t";
  802.                 // line 410
  803.                 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"falsefalsefalse410);
  804.                 echo "
  805. \t\t\t\t\t\t\t\t</div>
  806. \t\t\t\t\t\t\t</div>
  807. \t\t\t\t\t\t\t
  808. \t\t\t\t\t\t\t";
  809.                 // line 415
  810.                 echo "\t\t\t\t\t\t\t<div class=\"row\" style=\"min-height: 10px;\">
  811. \t\t\t\t\t\t\t\t<div class=\"col-md-12 p-3\" style=\"background: ";
  812.                 // line 416
  813.                 echo twig_escape_filter($this->envtwig_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"falsefalsefalse416), "html"nulltrue);
  814.                 echo ";\">
  815. \t\t\t\t\t\t\t\t\t";
  816.                 // line 417
  817.                 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"falsefalsefalse417);
  818.                 echo "
  819. \t\t\t\t\t\t\t\t</div>
  820. \t\t\t\t\t\t\t</div>
  821. \t\t\t\t\t\t\t
  822. \t\t\t\t\t\t</div>
  823. \t\t\t\t\t</div>
  824. \t\t\t\t\t
  825. \t\t\t\t\t
  826.                 ";
  827.             } else {
  828.                 // line 426
  829.                 echo "                    
  830.                     ";
  831.                 // line 427
  832.                 echo "                    
  833.                     
  834.                     ";
  835.                 // line 429
  836.                 $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"falsefalsefalse429);
  837.                 // line 430
  838.                 echo "                    ";
  839.                 if ((isset($context["modules"]) || array_key_exists("modules"$context) ? $context["modules"] : (function () { throw new RuntimeError('Variable "modules" does not exist.'430$this->source); })())) {
  840.                     // line 431
  841.                     echo "                        ";
  842.                     $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); })()));
  843.                     // line 432
  844.                     echo "                        ";
  845.                     $this->loadTemplate("content/tmpl/mtm-module-loop.html.twig""content/landing-page.html.twig"432)->display($context);
  846.                     // line 433
  847.                     echo "                    ";
  848.                 }
  849.                 // line 434
  850.                 echo "                        
  851.                     ";
  852.                 // line 445
  853.                 echo "                    
  854.                 ";
  855.             }
  856.             // line 447
  857.             echo "                </div>
  858.             </div>
  859.         </div>
  860.         
  861.         ";
  862.             // line 451
  863.             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); })()))) {
  864.                 // line 452
  865.                 echo "            </div>
  866.         ";
  867.             }
  868.             // line 454
  869.             echo "    ";
  870.         } else {
  871.             // line 455
  872.             echo "        <div class=\"container\">
  873.             <div class=\"row\">
  874.                 <div class=\"col-sm-8\">
  875.                     ";
  876.             // line 458
  877.             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"falsefalsefalse458);
  878.             echo "
  879.                 </div>
  880.                 <div class=\"col-sm-4\">
  881.                     [Sidebar]
  882.                 </div>
  883.             </div>
  884.         </div>
  885.     ";
  886.         }
  887.         // line 466
  888.         echo "
  889. ";
  890.         
  891.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  892.         
  893.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  894.     }
  895.     public function getTemplateName()
  896.     {
  897.         return "content/landing-page.html.twig";
  898.     }
  899.     public function isTraitable()
  900.     {
  901.         return false;
  902.     }
  903.     public function getDebugInfo()
  904.     {
  905.         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,);
  906.     }
  907.     public function getSourceContext()
  908.     {
  909.         return new Source("{% extends \"base.html.twig\" %}
  910. {# empty elements #}
  911. {% block header %}{% endblock %}
  912. {% block toolbar %}{% endblock %}
  913. {% block footer %}{% endblock %}
  914. {% block bottom %}{% endblock %}
  915. {% block body %}
  916. \t<script>
  917. \t{# Quick fix to double scrollbar issue #}
  918. \tdocument.documentElement.setAttribute(\"style\", \"overflow: visible;\");
  919. \t</script>
  920.     {# Render the appropriate template file. #}
  921.     {# adjusting so all landing pages are 1 template type ... 1 column full #}
  922.     {% if true or page.template == 1 %}
  923.         {# <div class=\"container-fluid\"> #}
  924.         
  925.         {% set background = page.getContentMetaValueByKey(\"rcs_body_background_color\") %}
  926.         {% if background %}
  927.             <style>
  928.                 .top-wrap {
  929.                     display: table;
  930.                 }
  931.             </style>
  932.             <div class=\"lp-wrapper\" style=\"background: {{ background }}; padding-top: 15px; padding-bottom: 15px; min-height: 100vh; display: block;\">
  933.         {% endif %}
  934.         
  935.         <div class=\"container\" style=\"background: #fff; max-width: 800px;\">
  936.         
  937.         <style>
  938.             {# hack ... can't think of a better way right now... #}
  939.             .top-wrap:after {
  940.                 height: 0;
  941.             }
  942.         </style>
  943.         
  944.             {% if message is defined %}
  945.                 <div class=\"row mt-3\">
  946.                     <div class=\"col-sm-12\">
  947.                         <div class=\"alert alert-{{ message.type }}\">
  948.                             {{ message.text }}
  949.                         </div>
  950.                     </div>
  951.                 </div>
  952.             {% endif %}
  953.         
  954.             <div class=\"row\">
  955.                 <div class=\"col-sm-12\">
  956. \t\t\t\t
  957. \t\t\t\t{#
  958. \t\t\t\t{% if page.hasContent() %}
  959.                     {{ page.getContentFull() | raw }}
  960. \t\t\t\t#}
  961. \t\t\t\t
  962. \t\t\t\t{# Only do this if landing page uses the new admin interface #}
  963.                 {% if page.isNewLandingPage() %}
  964.                     
  965. \t\t\t\t\t{# display the landing page #}
  966. \t\t\t\t\t<div class=\"row\">
  967. \t\t\t\t\t\t<div class=\"col-sm-12\">
  968. \t\t\t\t\t\t\t
  969. \t\t\t\t\t\t\t{# Header #}
  970. \t\t\t\t\t\t\t<div class=\"row\" style=\"min-height: 10px;\">
  971. \t\t\t\t\t\t\t\t<div class=\"col-sm-12\" style=\"background: {{page.getLPHeaderColor()}};\">
  972. \t\t\t\t\t\t\t\t\t{% set hide_alert_block = true %}
  973. \t\t\t\t\t\t\t\t\t{% include \"includes/messages.html.twig\" %}
  974. \t\t\t\t\t\t\t\t\t{{ page.getLPHeader()|raw }}
  975. \t\t\t\t\t\t\t\t</div>
  976. \t\t\t\t\t\t\t</div>
  977. \t\t\t\t\t\t\t
  978. \t\t\t\t\t\t\t{# Body #}
  979. \t\t\t\t\t\t\t<div class=\"row\">
  980. \t\t\t\t\t\t\t\t{# Left Column #}
  981. \t\t\t\t\t\t\t\t<div class=\"col-md-6 p-3\" style=\"background: {{page.getLPLeftColor()}};\">
  982. \t\t\t\t\t\t\t\t\t{{ page.getLPLeft()|raw }}
  983. \t\t\t\t\t\t\t\t\t
  984. \t\t\t\t\t\t\t\t\t{# Form #}
  985. \t\t\t\t\t\t\t\t\t{% set buttonColor = (page.getContentMetaValueByKey(\"btn_color\") ? page.getContentMetaValueByKey(\"btn_color\") : \"#A41822\") %}
  986. \t\t\t\t\t\t\t\t\t{% set buttonText = (page.getContentMetaValueByKey(\"btn_text\") ? page.getContentMetaValueByKey(\"btn_text\") : \"Submit\") %}
  987. \t\t\t\t\t\t\t\t\t
  988. \t\t\t\t\t\t\t\t\t{# Use the form object if it's set #}
  989. \t\t\t\t\t\t\t\t\t{% set form = page.getForm() %}
  990. \t\t\t\t\t\t\t\t\t{% if form %}
  991. \t\t\t\t\t\t\t\t\t\t<form method=\"post\" class=\"py-4\" enctype=\"multipart/form-data\">
  992. \t\t\t\t\t\t\t\t\t\t\t{% for field in  form.getFormFields() %}
  993. \t\t\t\t\t\t\t\t\t\t\t\t
  994. \t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block custom-frm-label\">
  995. \t\t\t\t\t\t\t\t\t\t\t\t\t{% if field.getDescription() %}
  996. \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>:
  997. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"\">
  998. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{field.getDescription()}}
  999. \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.  
  1000. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<br><br>
  1001. \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.   
  1002. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<br><br>
  1003. \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.
  1004. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<br><br>
  1005. \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.#}
  1006. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1007. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</span>
  1008. \t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  1009. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<span>{{field.getTitle()}}:</span>
  1010. \t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1011. \t\t\t\t\t\t\t\t\t\t\t\t</label>
  1012. \t\t\t\t\t\t\t\t\t\t\t\t{% if field.getType() == constant(\"App\\\\Entity\\\\FormField::TEXT_FIELD\") %}
  1013. \t\t\t\t\t\t\t\t\t\t\t\t\t<input
  1014. \t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"text\"
  1015. \t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
  1016. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{#placeholder=\"Your First Name\"#}
  1017. \t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead_custom[{{field.getTitle()}}]\"
  1018. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if field.getRequired() %} required {% endif %}
  1019. \t\t\t\t\t\t\t\t\t\t\t\t\t/>
  1020. \t\t\t\t\t\t\t\t\t\t\t\t{% elseif field.getType == constant(\"App\\\\Entity\\\\FormField::TEXT_AREA\") %}
  1021. \t\t\t\t\t\t\t\t\t\t\t\t\t<textarea
  1022. \t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
  1023. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{#placeholder=\"Your First Name\"#}
  1024. \t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead_custom[{{field.getTitle()}}]\"
  1025. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if field.getRequired() %} required {% endif %}
  1026. \t\t\t\t\t\t\t\t\t\t\t\t\t></textarea>
  1027. \t\t\t\t\t\t\t\t\t\t\t\t{% elseif field.getType == constant(\"App\\\\Entity\\\\FormField::DROP_DOWN\") %}
  1028. \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 %}>
  1029. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for option in field.getFormFieldOptions() %}
  1030. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"{{ option.getValue() }}\">{{ option.getValue() }}</option>
  1031. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  1032. \t\t\t\t\t\t\t\t\t\t\t\t\t</select>
  1033. \t\t\t\t\t\t\t\t\t\t\t\t{% elseif field.getType == constant(\"App\\\\Entity\\\\FormField::RADIO_BUTTONS\") %}
  1034. \t\t\t\t\t\t\t\t\t\t\t\t\t{% for option in field.getFormFieldOptions() %}
  1035. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"form-check\">
  1036. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"form-check-label\">
  1037. \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 %}>
  1038. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ option.getValue() }}
  1039. \t\t\t\t\t\t\t\t\t\t\t\t\t\t  </label>
  1040. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1041. \t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  1042. \t\t\t\t\t\t\t\t\t\t\t\t{% elseif field.getType == constant(\"App\\\\Entity\\\\FormField::CHECK_BOXES\") %}
  1043. \t\t\t\t\t\t\t\t\t\t\t\t\t{% for option in field.getFormFieldOptions() %}
  1044. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"form-check\">
  1045. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"form-check-label\">
  1046. \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() }}\">
  1047. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ option.getValue() }}
  1048. \t\t\t\t\t\t\t\t\t\t\t\t\t\t  </label>
  1049. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1050. \t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  1051. \t\t\t\t\t\t\t\t\t\t\t\t{% elseif field.getType == constant(\"App\\\\Entity\\\\FormField::IMAGE\") %}
  1052. \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()}}\" />
  1053. \t\t\t\t\t\t\t\t\t\t\t\t\t<input
  1054. \t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"file\"
  1055. \t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"img_{{field.getTitle()|replace({' ': ''})}}\"
  1056. \t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
  1057. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if field.getRequired() %} required {% endif %}
  1058. \t\t\t\t\t\t\t\t\t\t\t\t\t\taccept=\"image/png,image/gif,image/jpeg,image/jpeg,application/pdf\"
  1059. \t\t\t\t\t\t\t\t\t\t\t\t\t/>
  1060. \t\t\t\t\t\t\t\t\t\t\t\t{% elseif field.getType == constant(\"App\\\\Entity\\\\FormField::FILE\") %}
  1061. \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()}}\" />
  1062. \t\t\t\t\t\t\t\t\t\t\t\t\t<input
  1063. \t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"file\"
  1064. \t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"file_{{field.getTitle()|replace({' ': ''})}}\"
  1065. \t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
  1066. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if field.getRequired() %} required {% endif %}
  1067. \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\"#}
  1068. \t\t\t\t\t\t\t\t\t\t\t\t\t/>
  1069. \t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1070. \t\t\t\t\t\t\t\t\t\t\t\t
  1071. \t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  1072. \t\t\t\t\t\t\t\t\t\t\t
  1073. \t\t\t\t\t\t\t\t\t\t\t<div class=\"form-row g-recaptcha\" data-sitekey=\"6LeEIlMUAAAAAGhdmJJLdJHPxaWx2GqBjber5n6B\" required></div>
  1074. \t\t\t\t\t\t\t\t\t\t\t
  1075. \t\t\t\t\t\t\t\t\t\t\t{% if page.getLPOptIn() %}
  1076. \t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block pt-4\">
  1077. \t\t\t\t\t\t\t\t\t\t\t\t\t<input
  1078. \t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"checkbox\"
  1079. \t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[optin]\"
  1080. \t\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"yes\"
  1081. \t\t\t\t\t\t\t\t\t\t\t\t\t\trequired
  1082. \t\t\t\t\t\t\t\t\t\t\t\t\t/>
  1083. \t\t\t\t\t\t\t\t\t\t\t\t\t<span>{{page.getLPOptIn()}}</span>
  1084. \t\t\t\t\t\t\t\t\t\t\t\t</label>
  1085. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1086. \t\t\t\t\t\t\t\t\t\t\t
  1087. \t\t\t\t\t\t\t\t\t\t\t<div style=\"text-align: center;\">
  1088. \t\t\t\t\t\t\t\t\t\t\t\t<button 
  1089. \t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"btn mt-3\"
  1090. \t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"submit\"
  1091. \t\t\t\t\t\t\t\t\t\t\t\t\tstyle=\"color: #fff; background: {{buttonColor}};\"
  1092. \t\t\t\t\t\t\t\t\t\t\t\t>{{buttonText}}</button>
  1093. \t\t\t\t\t\t\t\t\t\t\t</div>
  1094. \t\t\t\t\t\t\t\t\t\t</form>
  1095. \t\t\t\t\t\t\t\t\t{# Else use a shortcode for the form if one is set #}
  1096. \t\t\t\t\t\t\t\t\t{% elseif page.getLPFormCode() %}
  1097. \t\t\t\t\t\t\t\t\t\t{{ page.getLPFormCode() | wordpress | raw }}
  1098. \t\t\t\t\t\t\t\t\t{% else %}
  1099. \t\t\t\t\t\t\t\t\t{# Otherwise use the selected pre-set fields #}
  1100. \t\t\t\t\t\t\t\t\t\t<form method=\"post\" class=\"py-4\" enctype=\"multipart/form-data\">
  1101. \t\t\t\t\t\t\t\t\t\t\t
  1102. \t\t\t\t\t\t\t\t\t\t\t{% if page.getLPFormFirstname() %}
  1103. \t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\"><span>First Name:</span>
  1104. \t\t\t\t\t\t\t\t\t\t\t\t\t<input
  1105. \t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"text\"
  1106. \t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
  1107. \t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"Your First Name\"
  1108. \t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[firstname]\"
  1109. \t\t\t\t\t\t\t\t\t\t\t\t\t\trequired
  1110. \t\t\t\t\t\t\t\t\t\t\t\t\t/>
  1111. \t\t\t\t\t\t\t\t\t\t\t\t</label>
  1112. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1113. \t\t\t\t\t\t\t\t\t\t\t
  1114. \t\t\t\t\t\t\t\t\t\t\t{% if page.getLPFormLastname() %}
  1115. \t\t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\"><span>Last Name:</span>
  1116. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<input
  1117. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"text\"
  1118. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
  1119. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"Your Last Name\"
  1120. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[lastname]\"
  1121. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\trequired
  1122. \t\t\t\t\t\t\t\t\t\t\t\t\t\t/>
  1123. \t\t\t\t\t\t\t\t\t\t\t\t\t</label>
  1124. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1125. \t\t\t\t\t\t\t\t\t\t\t
  1126. \t\t\t\t\t\t\t\t\t\t\t{% if page.getLPFormCompany() %}
  1127. \t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\"><span>Company:</span>
  1128. \t\t\t\t\t\t\t\t\t\t\t\t\t<input
  1129. \t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"text\"
  1130. \t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
  1131. \t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"Your Company\"
  1132. \t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[company]\"
  1133. \t\t\t\t\t\t\t\t\t\t\t\t\t/>
  1134. \t\t\t\t\t\t\t\t\t\t\t\t</label>
  1135. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1136. \t\t\t\t\t\t\t\t\t\t\t
  1137. \t\t\t\t\t\t\t\t\t\t\t{% if page.getLPFormAddress1() %}
  1138. \t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\"><span>Address Line 1:</span>
  1139. \t\t\t\t\t\t\t\t\t\t\t\t\t<input
  1140. \t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"text\"
  1141. \t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
  1142. \t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"Your Address Line 1\"
  1143. \t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[address1]\"
  1144. \t\t\t\t\t\t\t\t\t\t\t\t\t/>
  1145. \t\t\t\t\t\t\t\t\t\t\t\t</label>
  1146. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1147. \t\t\t\t\t\t\t\t\t\t\t
  1148. \t\t\t\t\t\t\t\t\t\t\t{% if page.getLPFormAddress2() %}
  1149. \t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\"><span>Address Line 2:</span>
  1150. \t\t\t\t\t\t\t\t\t\t\t\t\t<input
  1151. \t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"text\"
  1152. \t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
  1153. \t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"Your Address Line 2\"
  1154. \t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[address2]\"
  1155. \t\t\t\t\t\t\t\t\t\t\t\t\t/>
  1156. \t\t\t\t\t\t\t\t\t\t\t\t</label>
  1157. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1158. \t\t\t\t\t\t\t\t\t\t\t
  1159. \t\t\t\t\t\t\t\t\t\t\t{% if page.getLPFormCity() %}
  1160. \t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\"><span>City:</span>
  1161. \t\t\t\t\t\t\t\t\t\t\t\t\t<input
  1162. \t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"text\"
  1163. \t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
  1164. \t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"Your City\"
  1165. \t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[city]\"
  1166. \t\t\t\t\t\t\t\t\t\t\t\t\t/>
  1167. \t\t\t\t\t\t\t\t\t\t\t\t</label>
  1168. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1169. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
  1170. \t\t\t\t\t\t\t\t\t\t\t{% if page.getLPFormState() %}
  1171. \t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\"><span>State / Region:</span>
  1172. \t\t\t\t\t\t\t\t\t\t\t\t\t<input
  1173. \t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"text\"
  1174. \t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
  1175. \t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"Your State / Region\"
  1176. \t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[state]\"
  1177. \t\t\t\t\t\t\t\t\t\t\t\t\t/>
  1178. \t\t\t\t\t\t\t\t\t\t\t\t</label>
  1179. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1180. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
  1181. \t\t\t\t\t\t\t\t\t\t\t{% if page.getLPFormZip() %}
  1182. \t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\"><span>Zip Code:</span>
  1183. \t\t\t\t\t\t\t\t\t\t\t\t\t<input
  1184. \t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"text\"
  1185. \t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
  1186. \t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"Your Zip Code\"
  1187. \t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[zip]\"
  1188. \t\t\t\t\t\t\t\t\t\t\t\t\t/>
  1189. \t\t\t\t\t\t\t\t\t\t\t\t</label>
  1190. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1191. \t\t\t\t\t\t\t\t\t\t\t
  1192. \t\t\t\t\t\t\t\t\t\t\t{% if page.getLPFormPhone() %}
  1193. \t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\"><span>Phone:</span>
  1194. \t\t\t\t\t\t\t\t\t\t\t\t\t<input
  1195. \t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"text\"
  1196. \t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
  1197. \t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"Your Phone\"
  1198. \t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[phone]\"
  1199. \t\t\t\t\t\t\t\t\t\t\t\t\t\trequired
  1200. \t\t\t\t\t\t\t\t\t\t\t\t\t/>
  1201. \t\t\t\t\t\t\t\t\t\t\t\t</label>
  1202. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1203. \t\t\t\t\t\t\t\t\t\t\t
  1204. \t\t\t\t\t\t\t\t\t\t\t{% if page.getLPFormEmail() %}
  1205. \t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\"><span>Email:</span>
  1206. \t\t\t\t\t\t\t\t\t\t\t\t\t<input
  1207. \t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"text\"
  1208. \t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
  1209. \t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"Your Email Address\"
  1210. \t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[email]\"
  1211. \t\t\t\t\t\t\t\t\t\t\t\t\t\trequired
  1212. \t\t\t\t\t\t\t\t\t\t\t\t\t/>
  1213. \t\t\t\t\t\t\t\t\t\t\t\t</label>
  1214. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1215. \t\t\t\t\t\t\t\t\t\t\t
  1216. \t\t\t\t\t\t\t\t\t\t\t{% if page.getLPFormContractorType() %}
  1217. \t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\"><span>Type of Contractor:</span></label>
  1218. \t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\">
  1219. \t\t\t\t\t\t\t\t\t\t\t\t\t<input
  1220. \t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"
  1221. \t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[contractor_type]\"
  1222. \t\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"Primarily Residential\"
  1223. \t\t\t\t\t\t\t\t\t\t\t\t\t\trequired
  1224. \t\t\t\t\t\t\t\t\t\t\t\t\t/>
  1225. \t\t\t\t\t\t\t\t\t\t\t\t\t<span>Primarily Residential</span>
  1226. \t\t\t\t\t\t\t\t\t\t\t\t</label>
  1227. \t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\">
  1228. \t\t\t\t\t\t\t\t\t\t\t\t\t<input
  1229. \t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"
  1230. \t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[contractor_type]\"
  1231. \t\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"Primarily Commercial\"
  1232. \t\t\t\t\t\t\t\t\t\t\t\t\t\trequired
  1233. \t\t\t\t\t\t\t\t\t\t\t\t\t/>
  1234. \t\t\t\t\t\t\t\t\t\t\t\t\t<span>Primarily Commercial</span>
  1235. \t\t\t\t\t\t\t\t\t\t\t\t</label>
  1236. \t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\">
  1237. \t\t\t\t\t\t\t\t\t\t\t\t\t<input
  1238. \t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"
  1239. \t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[contractor_type]\"
  1240. \t\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"Both\"
  1241. \t\t\t\t\t\t\t\t\t\t\t\t\t\trequired
  1242. \t\t\t\t\t\t\t\t\t\t\t\t\t/>
  1243. \t\t\t\t\t\t\t\t\t\t\t\t\t<span>Both</span>
  1244. \t\t\t\t\t\t\t\t\t\t\t\t</label>
  1245. \t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\">
  1246. \t\t\t\t\t\t\t\t\t\t\t\t\t<input
  1247. \t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"radio\"
  1248. \t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[contractor_type]\"
  1249. \t\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"Not a Contractor\"
  1250. \t\t\t\t\t\t\t\t\t\t\t\t\t\trequired
  1251. \t\t\t\t\t\t\t\t\t\t\t\t\t/>
  1252. \t\t\t\t\t\t\t\t\t\t\t\t\t<span>Not a Contractor</span>
  1253. \t\t\t\t\t\t\t\t\t\t\t\t</label>
  1254. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1255. \t\t\t\t\t\t\t\t\t\t\t
  1256. \t\t\t\t\t\t\t\t\t\t\t{% if page.getLPFormImage() %}
  1257. \t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block\">
  1258. \t\t\t\t\t\t\t\t\t\t\t\t<span class=\"rtooltip\">Attach Image <i class=\"fa fa-question-circle\"></i>:
  1259. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top: -305px;left:120px;width:350px;\">
  1260. \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.  
  1261. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<br><br>
  1262. \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.   
  1263. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<br><br>
  1264. \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.
  1265. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<br><br>
  1266. \t\t\t\t\t\t\t\t\t\t\t\t\t\tNOTE:   Only PNG, JPG, GIF, PDF file types are supported.
  1267. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1268. \t\t\t\t\t\t\t\t\t\t\t\t</span>
  1269. \t\t\t\t\t\t\t\t\t\t\t\t\t{#
  1270. \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()}}\" />
  1271. \t\t\t\t\t\t\t\t\t\t\t\t\t<input
  1272. \t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"file\"
  1273. \t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"img_{{field.getTitle()|replace({' ': ''})}}\"
  1274. \t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
  1275. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if field.getRequired() %} required {% endif %}
  1276. \t\t\t\t\t\t\t\t\t\t\t\t\t/>
  1277. \t\t\t\t\t\t\t\t\t\t\t\t\t#}
  1278. \t\t\t\t\t\t\t\t\t\t\t\t\t
  1279. \t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"lead_custom_img[attachment]\" value=\"attachment\" />
  1280. \t\t\t\t\t\t\t\t\t\t\t\t\t<input
  1281. \t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"file\"
  1282. \t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"img_attachment\"
  1283. \t\t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control\"
  1284. \t\t\t\t\t\t\t\t\t\t\t\t\t\taccept=\"image/png,image/gif,image/jpeg,image/jpeg,application/pdf\"
  1285. \t\t\t\t\t\t\t\t\t\t\t\t\t/>
  1286. \t\t\t\t\t\t\t\t\t\t\t\t</label>
  1287. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1288. \t\t\t\t\t\t\t\t\t\t\t
  1289. \t\t\t\t\t\t\t\t\t\t\t<div class=\"form-row g-recaptcha\" data-sitekey=\"6LeEIlMUAAAAAGhdmJJLdJHPxaWx2GqBjber5n6B\"></div>
  1290. \t\t\t\t\t\t\t\t\t\t\t
  1291. \t\t\t\t\t\t\t\t\t\t\t{% if page.getLPOptIn() %}
  1292. \t\t\t\t\t\t\t\t\t\t\t\t<label class=\"btn-block pt-4\">
  1293. \t\t\t\t\t\t\t\t\t\t\t\t\t<input
  1294. \t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"checkbox\"
  1295. \t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"lead[optin]\"
  1296. \t\t\t\t\t\t\t\t\t\t\t\t\t\tvalue=\"yes\"
  1297. \t\t\t\t\t\t\t\t\t\t\t\t\t\trequired
  1298. \t\t\t\t\t\t\t\t\t\t\t\t\t/>
  1299. \t\t\t\t\t\t\t\t\t\t\t\t\t<span>{{page.getLPOptIn()}}</span>
  1300. \t\t\t\t\t\t\t\t\t\t\t\t</label>
  1301. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1302. \t\t\t\t\t\t\t\t\t\t\t
  1303. \t\t\t\t\t\t\t\t\t\t\t<div style=\"text-align: center;\">
  1304. \t\t\t\t\t\t\t\t\t\t\t\t<button 
  1305. \t\t\t\t\t\t\t\t\t\t\t\t\tclass=\"btn mt-3\"
  1306. \t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"submit\"
  1307. \t\t\t\t\t\t\t\t\t\t\t\t\tstyle=\"color: #fff; background: {{buttonColor}};\"
  1308. \t\t\t\t\t\t\t\t\t\t\t\t>{{buttonText}}</button>
  1309. \t\t\t\t\t\t\t\t\t\t\t</div>
  1310. \t\t\t\t\t\t\t\t\t\t</form>
  1311. \t\t\t\t\t\t\t\t\t{% endif %}
  1312. \t\t\t\t\t\t\t\t\t
  1313. \t\t\t\t\t\t\t\t</div>
  1314. \t\t\t\t\t\t\t\t{# Right Column #}
  1315. \t\t\t\t\t\t\t\t<div class=\"col-md-6 p-3\" style=\"background: {{page.getLPRightColor()}};\">
  1316. \t\t\t\t\t\t\t\t\t{{ page.getLPRight()|raw }}
  1317. \t\t\t\t\t\t\t\t</div>
  1318. \t\t\t\t\t\t\t</div>
  1319. \t\t\t\t\t\t\t
  1320. \t\t\t\t\t\t\t{# Footer #}
  1321. \t\t\t\t\t\t\t<div class=\"row\" style=\"min-height: 10px;\">
  1322. \t\t\t\t\t\t\t\t<div class=\"col-md-12 p-3\" style=\"background: {{page.getLPFooterColor()}};\">
  1323. \t\t\t\t\t\t\t\t\t{{ page.getLPFooter()|raw }}
  1324. \t\t\t\t\t\t\t\t</div>
  1325. \t\t\t\t\t\t\t</div>
  1326. \t\t\t\t\t\t\t
  1327. \t\t\t\t\t\t</div>
  1328. \t\t\t\t\t</div>
  1329. \t\t\t\t\t
  1330. \t\t\t\t\t
  1331.                 {% else %}
  1332.                     
  1333.                     {# looks to be working ... #}                    
  1334.                     
  1335.                     {% set modules = page.getContentMetaValueByKey(\"mtm_content_modules\") %}
  1336.                     {% if modules %}
  1337.                         {% set modules = unserialize(modules) %}
  1338.                         {% include \"content/tmpl/mtm-module-loop.html.twig\" %}
  1339.                     {% endif %}
  1340.                         
  1341.                     {#
  1342.                     <table class=\"table\">
  1343.                     {% for meta in page.getContentMeta() %}
  1344.                         <tr>
  1345.                             <td>{{ meta.getMetakey() }}:</td>
  1346.                             <td>{{ meta.getMetavalue() }}</td>
  1347.                         </tr>
  1348.                     {% endfor %}
  1349.                     </table>
  1350.                     #}
  1351.                     
  1352.                 {% endif %}
  1353.                 </div>
  1354.             </div>
  1355.         </div>
  1356.         
  1357.         {% if background is not empty %}
  1358.             </div>
  1359.         {% endif %}
  1360.     {% else %}
  1361.         <div class=\"container\">
  1362.             <div class=\"row\">
  1363.                 <div class=\"col-sm-8\">
  1364.                     {{ page.content_full | raw }}
  1365.                 </div>
  1366.                 <div class=\"col-sm-4\">
  1367.                     [Sidebar]
  1368.                 </div>
  1369.             </div>
  1370.         </div>
  1371.     {% endif %}
  1372. {% endblock %}
  1373. ""content/landing-page.html.twig""/var/www/vhosts/rooferscoffeeshop.com/staging.rooferscoffeeshop.com/rcs-website/templates/content/landing-page.html.twig");
  1374.     }
  1375. }