<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* forms/new-sign-up.html.twig */
class __TwigTemplate_b3e0ca7cfacc131f298ecfb4452a89b8 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "forms/new-sign-up.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "forms/new-sign-up.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "forms/new-sign-up.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 2
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 3
echo "
";
// line 4
$this->loadTemplate("forms/new-sign-up.html.twig", "forms/new-sign-up.html.twig", 4, "1852871478")->display($context);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "forms/new-sign-up.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 71 => 4, 68 => 3, 58 => 2, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends \"base.html.twig\" %}
{% block body %}
{% embed \"1-col-sidebar.html.twig\" %}
{% block column %}
{% if message %}
<div class=\"alert alert-{{ message.type }}\">
{% if message.type == 'warning' %}
<i class=\"fa fa-exclamation-triangle\"></i>
{% elseif message.type == 'success' %}
<i class=\"fa fa-check\"></i>
{% endif %}
{{ message.text | raw}}
</div>
{% endif %}
\t{% if site_code == constant(\"App\\\\Entity\\\\Content::SITE_RCS\") %}
\t\t{% include \"includes/curtain-ads/rclub.html.twig\" %}
\t{% endif %}
\t
\t{% if app.user is empty %}
\t\t{# Not a user, show the user sign up form w/ Week in Roofing section #}
\t\t<form method=\"post\" action=\"\">
\t\t\t{# <img src=\"https://www.rooferscoffeeshop.com/uploads/media/2019/09/be-a-part-of-r-club.png\" alt=\"Be a part of R-Club\" loading='lazy'> #}
\t\t\t{#<h3>3 SIGN UP OPTIONS</h3><br>#}
\t\t\t<h6>{#1. #}Sign-up for an account to place a classified and to participate in the forum.</h6>
\t\t\t<p>Register for an account with RoofersCoffeeShop using the form below!</p>
\t\t\t
\t\t\t<input type=\"hidden\" id=\"site-signup\" name=\"site-signup\" value=\"1\">
\t\t\t
\t\t\t<div class=\"row\">
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\"><span>First Name:<span style=\"color:red\"> *</span></span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tname=\"lead[firstname]\"
\t\t\t\t\t\t\tplaceholder=\"Your First Name\"
\t\t\t\t\t\t\tvalue=\"{{ firstname }}\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t</label>\t
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\"><span>Last Name:<span style=\"color:red\"> *</span></span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tname=\"lead[lastname]\"
\t\t\t\t\t\t\tplaceholder=\"Your Last Name\"
\t\t\t\t\t\t\tvalue=\"{{ lastname }}\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\">Your Username<span style=\"color:red\"> *</span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tname=\"lead[username]\"
\t\t\t\t\t\t\tplaceholder=\"Your Username\"
\t\t\t\t\t\t\tvalue=\"{{ username }}\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t\t<span><i class=\"fa fa-exclamation-triangle\"></i> Username must be greater than 5 characters in length.</span>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\">Your E-mail Address<span style=\"color:red\"> *</span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tname=\"lead[email]\"
\t\t\t\t\t\t\tplaceholder=\"Your E-mail Address\"
\t\t\t\t\t\t\tvalue=\"{{ email }}\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\">Your Password<span style=\"color:red\"> *</span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\ttype=\"password\"
\t\t\t\t\t\t\tname=\"password1\"
\t\t\t\t\t\t\tplaceholder=\"Your Password\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\">Confirm Password<span style=\"color:red\"> *</span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\ttype=\"password\"
\t\t\t\t\t\t\tname=\"password2\"
\t\t\t\t\t\t\tplaceholder=\"Confirm Your Password\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\">Address Line 1<span style=\"color:red\"> *</span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tname=\"lead[address1]\"
\t\t\t\t\t\t\tplaceholder=\"Your Address Line 1\"
\t\t\t\t\t\t\tvalue=\"{{ address1 }}\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\">Address Line 2<span style=\"color:red\"></span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tname=\"lead[address2]\"
\t\t\t\t\t\t\tplaceholder=\"Your Address Line 2\"
\t\t\t\t\t\t\tvalue=\"{{ address2 }}\"
\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\">City<span style=\"color:red\"> *</span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tname=\"lead[city]\"
\t\t\t\t\t\t\tplaceholder=\"Your City\"
\t\t\t\t\t\t\tvalue=\"{{ city }}\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\">State / Region<span style=\"color:red\"> *</span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tname=\"lead[state]\"
\t\t\t\t\t\t\tplaceholder=\"Your State / Region\"
\t\t\t\t\t\t\tvalue=\"{{ state }}\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\">Zip Code<span style=\"color:red\"> *</span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tname=\"lead[zip]\"
\t\t\t\t\t\t\tplaceholder=\"Your Zip Code\"
\t\t\t\t\t\t\tvalue=\"{{ zip }}\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-6\" id=\"outer-company-div\" {#style=\"display:none;\"#}>
\t\t\t\t\t<label class=\"btn-block\">Company<span style=\"color:red\"> *</span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\t{#name=\"lead[company_inactive]\"#}
\t\t\t\t\t\t\tname=\"lead[company]\"
\t\t\t\t\t\t\tplaceholder=\"Your Company\"
\t\t\t\t\t\t\tvalue=\"{% if company is defined %}{{company}}{% endif %}\"
\t\t\t\t\t\t\tid=\"company1\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\"><span>Phone Number:{#<span style=\"color:red\"> *</span>#}</span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tclass=\"form-control enews-field\"
\t\t\t\t\t\t\tplaceholder=\"Your Phone Number\"
\t\t\t\t\t\t\tname=\"lead[phone]\"
\t\t\t\t\t\t\tvalue=\"{% if phone is defined %}{{phone}}{% endif %}\"
\t\t\t\t\t\t\t{#required#}
\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\"><span>Type of Work Performed:<span style=\"color:red\"> *</span></span>
\t\t\t\t\t\t<select
\t\t\t\t\t\t\tclass=\"form-control enews-field\"
\t\t\t\t\t\t\tname=\"lead[contractor_type]\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t>
\t\t\t\t\t\t<option value=\"Primarily Commercial\">Primarily Commercial</option>
\t\t\t\t\t\t<option value=\"Primarily Residential\">Primarily Residential</option>
\t\t\t\t\t\t<option value=\"Both\">Both</option>
\t\t\t\t\t\t<option value=\"Other\">Other</option>
\t\t\t\t\t\t<option value=\"Not a Contractor\">Not a Contractor</option>
\t\t\t\t\t\t</select>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\"><span>Country:<span style=\"color:red\"> *</span></span></label>
\t\t\t\t\t<label class=\"btn-block\">
\t\t\t\t\t\t<input
\t\t\t\t\t\t\ttype=\"radio\"
\t\t\t\t\t\t\tname=\"lead[country]\"
\t\t\t\t\t\t\tvalue=\"United States\"
\t\t\t\t\t\t\tclass=\"enews-field\"
\t\t\t\t\t\t\tchecked
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t\t<span>United States</span>
\t\t\t\t\t</label>
\t\t\t\t\t<label class=\"btn-block\">
\t\t\t\t\t\t<input
\t\t\t\t\t\t\ttype=\"radio\"
\t\t\t\t\t\t\tname=\"lead[country]\"
\t\t\t\t\t\t\tvalue=\"Canada\"
\t\t\t\t\t\t\tclass=\"enews-field\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t\t<span>Canada</span>
\t\t\t\t\t</label>
\t\t\t\t\t<label class=\"btn-block\">
\t\t\t\t\t\t<input
\t\t\t\t\t\t\ttype=\"radio\"
\t\t\t\t\t\t\tname=\"lead[country]\"
\t\t\t\t\t\t\tvalue=\"European Countries\"
\t\t\t\t\t\t\tclass=\"enews-field\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t\t<span>European Countries</span>
\t\t\t\t\t</label>
\t\t\t\t\t<label class=\"btn-block\">
\t\t\t\t\t\t<input
\t\t\t\t\t\t\ttype=\"radio\"
\t\t\t\t\t\t\tname=\"lead[country]\"
\t\t\t\t\t\t\tvalue=\"Other\"
\t\t\t\t\t\t\tclass=\"enews-field\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t\t<span><input
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tplaceholder=\"Other\"
\t\t\t\t\t\t\tname=\"lead[country_other]\"
\t\t\t\t\t\t\tclass=\"enews-field\"
\t\t\t\t\t\t/></span>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\"><span>Business Type:<span style=\"color:red\"> *</span></span>
\t\t\t\t\t\t<select
\t\t\t\t\t\t\tclass=\"form-control enews-field\"
\t\t\t\t\t\t\tname=\"lead[business_type]\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t>
\t\t\t\t\t\t\t<option value=\"Roofing Contractor\">Roofing Contractor</option>
\t\t\t\t\t\t\t<option value=\"Exterior/General Contractor\">Exterior/General Contractor</option>
\t\t\t\t\t\t\t<option value=\"Distributor\">Distributor</option>
\t\t\t\t\t\t\t<option value=\"Manufacturer/Business Services\">Manufacturer/Business Services</option>
\t\t\t\t\t\t\t<option value=\"Other\">Other</option>
\t\t\t\t\t\t</select>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t
\t\t\t\t
\t\t\t\t{#<h6>2. Add the \"Week In Roofing\" E-news</h6>#}
\t\t\t\t
\t\t\t\t<div class=\"col-sm-12\" {# class=\"form-check\" #} style=\"margin-top:30px;padding-left:25px;\">
\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"enews\" name=\"enews\" {#onclick=\"clickEnews()\"#} checked>
\t\t\t\t\t<label class=\"form-check-label\" for=\"enews\">
\t\t\t\t\t\t<span class=\"rtooltip\">Sign up for Week In Roofing? <i class=\"fa fa-info-circle\"></i>
\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
\t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the roofing industry, week by week!
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</span>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:30px;padding-left:25px;\">
\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"metal-enews\" name=\"metal-enews\" checked>
\t\t\t\t\t<label class=\"form-check-label\" for=\"metal-enews\">
\t\t\t\t\t\t<span class=\"rtooltip\">Sign up for Week In Metal? <i class=\"fa fa-info-circle\"></i>
\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
\t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the metal industry, week by week!
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</span>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:30px;padding-left:25px;\">
\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"coatings-enews\" name=\"coatings-enews\" checked>
\t\t\t\t\t<label class=\"form-check-label\" for=\"coatings-enews\">
\t\t\t\t\t\t<span class=\"rtooltip\">Sign up for Week In Coatings? <i class=\"fa fa-info-circle\"></i>
\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
\t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the coatings industry, week by week!
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</span>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:30px;padding-left:25px;\">
\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"yes\" id=\"rclub_interest\" name=\"lead_custom[rclub_interest]\">
\t\t\t\t\t<label class=\"form-check-label\" for=\"rclub_interest\">
\t\t\t\t\t\t<span class=\"rtooltip\">Interested in R-Club? <i class=\"fa fa-info-circle\"></i>
\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:165px;width:210px;padding-left:10px;\">
\t\t\t\t\t\t\t\tThe most exclusive roofing contractors club in the world!
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</span>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t
\t\t\t\t
\t\t\t</div>
\t\t\t
\t\t\t
\t\t\t{#
\t\t\t<div id=\"enews-fields\">
\t\t\t\t<div class=\"row\">
\t\t\t\t\t<div class=\"col-8\">
\t\t\t\t\t\t
\t\t\t\t\t\t<label class=\"btn-block\"><span>Company:<span style=\"color:red\"> *</span></span>
\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\t\tclass=\"form-control enews-field\"
\t\t\t\t\t\t\t\tplaceholder=\"Your Company\"
\t\t\t\t\t\t\t\tname=\"lead[company]\"
\t\t\t\t\t\t\t\tid=\"company2\"
\t\t\t\t\t\t\t\trequired
\t\t\t\t\t\t\t/>
\t\t\t\t\t\t</label>
\t\t\t\t\t\t
\t\t\t\t\t\t<label class=\"btn-block\"><span>Phone Number:<span style=\"color:red\"> *</span></span>
\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\t\tclass=\"form-control enews-field\"
\t\t\t\t\t\t\t\tplaceholder=\"Your Phone Number\"
\t\t\t\t\t\t\t\tname=\"lead[phone]\"
\t\t\t\t\t\t\t\trequired
\t\t\t\t\t\t\t/>
\t\t\t\t\t\t</label>
\t\t\t\t\t\t
\t\t\t\t\t\t<label class=\"btn-block\"><span>Type of Work Performed:<span style=\"color:red\"> *</span></span>
\t\t\t\t\t\t\t<select
\t\t\t\t\t\t\t\tclass=\"form-control enews-field\"
\t\t\t\t\t\t\t\tname=\"lead[contractor_type]\"
\t\t\t\t\t\t\t\trequired
\t\t\t\t\t\t\t>
\t\t\t\t\t\t\t<option value=\"Primarily Commercial\">Primarily Commercial</option>
\t\t\t\t\t\t\t<option value=\"Primarily Residential\">Primarily Residential</option>
\t\t\t\t\t\t\t<option value=\"Both\">Both</option>
\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t</label>
\t\t\t\t\t\t
\t\t\t\t\t\t
\t\t\t\t\t\t<label class=\"btn-block\"><span>Country:<span style=\"color:red\"> *</span></span></label>
\t\t\t\t\t\t<label class=\"btn-block\">
\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\ttype=\"radio\"
\t\t\t\t\t\t\t\tname=\"lead[country]\"
\t\t\t\t\t\t\t\tvalue=\"United States\"
\t\t\t\t\t\t\t\tclass=\"enews-field\"
\t\t\t\t\t\t\t\tchecked
\t\t\t\t\t\t\t\trequired
\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t<span>United States</span>
\t\t\t\t\t\t</label>
\t\t\t\t\t\t<label class=\"btn-block\">
\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\ttype=\"radio\"
\t\t\t\t\t\t\t\tname=\"lead[country]\"
\t\t\t\t\t\t\t\tvalue=\"Canada\"
\t\t\t\t\t\t\t\tclass=\"enews-field\"
\t\t\t\t\t\t\t\trequired
\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t<span>Canada</span>
\t\t\t\t\t\t</label>
\t\t\t\t\t\t<label class=\"btn-block\">
\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\ttype=\"radio\"
\t\t\t\t\t\t\t\tname=\"lead[country]\"
\t\t\t\t\t\t\t\tvalue=\"European Countries\"
\t\t\t\t\t\t\t\tclass=\"enews-field\"
\t\t\t\t\t\t\t\trequired
\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t<span>European Countries</span>
\t\t\t\t\t\t</label>
\t\t\t\t\t\t<label class=\"btn-block\">
\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\ttype=\"radio\"
\t\t\t\t\t\t\t\tname=\"lead[country]\"
\t\t\t\t\t\t\t\tvalue=\"Other\"
\t\t\t\t\t\t\t\tclass=\"enews-field\"
\t\t\t\t\t\t\t\trequired
\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t<span><input
\t\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\t\tplaceholder=\"Other\"
\t\t\t\t\t\t\t\tname=\"lead[country_other]\"
\t\t\t\t\t\t\t\tclass=\"enews-field\"
\t\t\t\t\t\t\t/></span>
\t\t\t\t\t\t</label>
\t\t\t\t\t\t
\t\t\t\t\t\t
\t\t\t\t\t\t<label class=\"btn-block\"><span>Business Type:<span style=\"color:red\"> *</span></span>
\t\t\t\t\t\t\t<select
\t\t\t\t\t\t\t\tclass=\"form-control enews-field\"
\t\t\t\t\t\t\t\tname=\"lead[business_type]\"
\t\t\t\t\t\t\t\trequired
\t\t\t\t\t\t\t>
\t\t\t\t\t\t\t\t<option value=\"Roofing Contractor\">Roofing Contractor</option>
\t\t\t\t\t\t\t\t<option value=\"Exterior/General Contractor\">Exterior/General Contractor</option>
\t\t\t\t\t\t\t\t<option value=\"Distributor\">Distributor</option>
\t\t\t\t\t\t\t\t<option value=\"Manufacturer/Business Services\">Manufacturer/Business Services</option>
\t\t\t\t\t\t\t\t<option value=\"Other\">Other</option>
\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t</label>
\t\t\t\t\t</div>
\t\t\t\t\t
\t\t\t\t\t<div class=\"col-4\">
\t\t\t\t\t\t<p>We send our “<strong>Week In Roofing</strong>” directly to your inbox with interesting information, great photos and cool products. You can Opt-out at any time, but why would you want to? Remember, we respect your privacy and we will never sell your email address!</p>
\t\t\t\t\t\t{ #<p><img class=\"alignnone size-full wp-image-12401\" src=\"https://rooferscoffeeshop.com/uploads/media/2016/05/week-in-review.jpg\" alt=\"RoofersCoffeeShop.com Week in Roofing\" loading='lazy'></p># }
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t#}
\t\t\t
\t\t\t
\t\t\t
\t\t\t{# Members section #}
\t\t\t{#
\t\t\t<br><hr><br>
\t\t\t<h6>3. Sign up for complete access for all the RoofersCoffeeShop has to offer.</h6>
\t\t\t{% if app.user and app.user.isMember() %}
\t\t\t\t<!--Already a member. Leave blank?-->
\t\t\t{% else %}
\t\t\t\t<center>
\t\t\t\t<a href=\"/rcs-club-sign-up\"><img src=\"https://www.rooferscoffeeshop.com/uploads/media/2019/04/rcs-r-club.png\" style=\"width:450px; align: center;\" loading='lazy' /></a>
\t\t\t\t<p>Want exclusive access?</p>
\t\t\t\t<p>Want to be a part of the most exclusive roofers club in the world? <a href=\"/rcs-club-sign-up\">Learn More</a></p>
\t\t\t\t</center>
\t\t\t\t<hr>
\t\t\t{% endif %}
\t\t\t#}
\t\t\t
\t\t\t<br><div class=\"form-row g-recaptcha\" data-sitekey=\"6LeEIlMUAAAAAGhdmJJLdJHPxaWx2GqBjber5n6B\"></div>
\t\t\t<div style=\"text-align:center;\">
\t\t\t\t<button
\t\t\t\t\ttype=\"submit\"
\t\t\t\t\tclass=\"btn btn-secondary mt-2\"
\t\t\t\t\tstyle=\"font-size: 22px;\"
\t\t\t\t>Sign Up</button>
\t\t\t</div>
\t\t\t
\t\t\t<br>
\t\t\t<p>*Please check your spam folder if you don't receive an activation e-mail after several minutes. Contact us at info@rooferscoffeeshop.com if you need any additional help.</p> {#'#}
\t\t\t
\t\t</form>
\t\t
\t\t
\t{% else %}
\t\t{# Already a user, just show the Week in Roofing sign up #}
\t\t
\t\t{% set week_in = 'Roofing' %}
\t\t{% if site_code is defined and site_code == constant(\"App\\\\Entity\\\\Content::SITE_MCS\") %}
\t\t\t{% set week_in = 'Metal' %}
\t\t{% endif %}
\t\t{% if site_code is defined and site_code == constant(\"App\\\\Entity\\\\Content::SITE_CCS\") %}
\t\t\t{% set week_in = 'Coatings' %}
\t\t{% endif %}
\t\t<div class=\"row\">
\t\t\t<div class=\"col-9\">
\t\t\t\t<h3>Sign Up for the \"Week in {{week_in}}\"</h3>
\t\t\t\t<p>Don't miss our recap of the week's best industry posts!</p>
\t\t\t\t\t
\t\t\t\t<form method=\"post\" class=\"py-4\">
\t\t\t\t\t
\t\t\t\t\t<input type=\"hidden\" id=\"enews-signup\" name=\"enews-signup\" value=\"1\">
\t\t\t\t\t{% if site_code is defined and site_code == constant(\"App\\\\Entity\\\\Content::SITE_RCS\") %}
\t\t\t\t\t\t<input type=\"hidden\" id=\"enews\" name=\"enews\" value=\"1\">
\t\t\t\t\t{% elseif site_code is defined and site_code == constant(\"App\\\\Entity\\\\Content::SITE_MCS\") %}
\t\t\t\t\t\t<input type=\"hidden\" id=\"metal-enews\" name=\"metal-enews\" value=\"1\">
\t\t\t\t\t{% elseif site_code is defined and site_code == constant(\"App\\\\Entity\\\\Content::SITE_CCS\") %}
\t\t\t\t\t\t<input type=\"hidden\" id=\"coatings-enews\" name=\"coatings-enews\" value=\"1\">
\t\t\t\t\t{% endif %}
\t\t\t\t\t
\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\"><span>First Name:<span style=\"color:red\"> *</span></span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\tplaceholder=\"Your First Name\"
\t\t\t\t\t\t\tname=\"lead[firstname]\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t\t
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\"><span>Last Name:<span style=\"color:red\"> *</span></span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\tplaceholder=\"Your Last Name\"
\t\t\t\t\t\t\tname=\"lead[lastname]\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t\t
\t\t\t\t\t<label class=\"btn-block\"><span>Email:<span style=\"color:red\"> *</span></span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\tplaceholder=\"Your Email Address\"
\t\t\t\t\t\t\tname=\"lead[email]\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t\t
\t\t\t\t\t<label class=\"btn-block\"><span>Company:<span style=\"color:red\"> *</span></span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\tplaceholder=\"Your Company\"
\t\t\t\t\t\t\tname=\"lead[company]\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t\t
\t\t\t\t\t<label class=\"btn-block\"><span>Type of Work Performed:<span style=\"color:red\"> *</span></span>
\t\t\t\t\t\t<select
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\tname=\"lead[contractor_type]\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t>
\t\t\t\t\t\t<option value=\"Primarily Commercial\">Primarily Commercial</option>
\t\t\t\t\t\t<option value=\"Primarily Residential\">Primarily Residential</option>
\t\t\t\t\t\t<option value=\"Both\">Both</option>
\t\t\t\t\t\t<option value=\"Other\">Other</option>
\t\t\t\t\t\t</select>
\t\t\t\t\t</label>
\t\t\t\t\t
\t\t\t\t\t
\t\t\t\t\t<label class=\"btn-block\"><span>Country:<span style=\"color:red\"> *</span></span></label>
\t\t\t\t\t<label class=\"btn-block\">
\t\t\t\t\t\t<input
\t\t\t\t\t\t\ttype=\"radio\"
\t\t\t\t\t\t\tname=\"lead[country]\"
\t\t\t\t\t\t\tvalue=\"United States\"
\t\t\t\t\t\t\tchecked
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t\t<span>United States</span>
\t\t\t\t\t</label>
\t\t\t\t\t<label class=\"btn-block\">
\t\t\t\t\t\t<input
\t\t\t\t\t\t\ttype=\"radio\"
\t\t\t\t\t\t\tname=\"lead[country]\"
\t\t\t\t\t\t\tvalue=\"Canada\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t\t<span>Canada</span>
\t\t\t\t\t</label>
\t\t\t\t\t<label class=\"btn-block\">
\t\t\t\t\t\t<input
\t\t\t\t\t\t\ttype=\"radio\"
\t\t\t\t\t\t\tname=\"lead[country]\"
\t\t\t\t\t\t\tvalue=\"European Countries\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t\t<span>European Countries</span>
\t\t\t\t\t</label>
\t\t\t\t\t<label class=\"btn-block\">
\t\t\t\t\t\t<input
\t\t\t\t\t\t\ttype=\"radio\"
\t\t\t\t\t\t\tname=\"lead[country]\"
\t\t\t\t\t\t\tvalue=\"Other\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t\t<span><input
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tplaceholder=\"Other\"
\t\t\t\t\t\t\tname=\"lead[country_other]\"
\t\t\t\t\t\t/></span>
\t\t\t\t\t</label>
\t\t\t\t\t
\t\t\t\t\t
\t\t\t\t\t<label class=\"btn-block\"><span>Business Type:<span style=\"color:red\"> *</span></span>
\t\t\t\t\t\t<select
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\tname=\"lead[business_type]\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t>
\t\t\t\t\t\t<option value=\"Roofing Contractor\">Roofing Contractor</option>
\t\t\t\t\t\t<option value=\"Exterior/General Contractor\">Exterior/General Contractor</option>
\t\t\t\t\t\t<option value=\"Distributor\">Distributor</option>
\t\t\t\t\t\t<option value=\"Manufacturer/Business Services\">Manufacturer/Business Services</option>
\t\t\t\t\t\t<option value=\"Other\">Other</option>
\t\t\t\t\t\t</select>
\t\t\t\t\t</label>
\t\t\t\t\t
\t\t\t\t\t{% if week_in == 'Roofing' %}
\t\t\t\t\t
\t\t\t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:20px;padding-left:25px;\">
\t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"metal-enews\" name=\"metal-enews\" checked>
\t\t\t\t\t\t\t<label class=\"form-check-label\" for=\"metal-enews\">
\t\t\t\t\t\t\t\t<span class=\"rtooltip\">Also sign up for Week In Metal? <i class=\"fa fa-info-circle\"></i>
\t\t\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
\t\t\t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the metal industry, week by week!
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:20px;padding-left:25px;\">
\t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"coatings-enews\" name=\"coatings-enews\" checked>
\t\t\t\t\t\t\t<label class=\"form-check-label\" for=\"coatings-enews\">
\t\t\t\t\t\t\t\t<span class=\"rtooltip\">Also sign up for Week In Coatings? <i class=\"fa fa-info-circle\"></i>
\t\t\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
\t\t\t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the coatings industry, week by week!
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t</div>
\t\t\t\t\t{% elseif week_in == 'Metal' %}
\t\t\t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:20px;padding-left:25px;\">
\t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"enews\" name=\"enews\" checked>
\t\t\t\t\t\t\t<label class=\"form-check-label\" for=\"enews\">
\t\t\t\t\t\t\t\t<span class=\"rtooltip\">Also sign up for Week In Roofing? <i class=\"fa fa-info-circle\"></i>
\t\t\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
\t\t\t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the roofing industry, week by week!
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:20px;padding-left:25px;\">
\t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"coatings-enews\" name=\"coatings-enews\" checked>
\t\t\t\t\t\t\t<label class=\"form-check-label\" for=\"coatings-enews\">
\t\t\t\t\t\t\t\t<span class=\"rtooltip\">Also sign up for Week In Coatings? <i class=\"fa fa-info-circle\"></i>
\t\t\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
\t\t\t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the coatings industry, week by week!
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t</div>
\t\t\t\t\t{% elseif week_in == 'Coatings' %}
\t\t\t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:20px;padding-left:25px;\">
\t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"enews\" name=\"enews\" checked>
\t\t\t\t\t\t\t<label class=\"form-check-label\" for=\"enews\">
\t\t\t\t\t\t\t\t<span class=\"rtooltip\">Also sign up for Week In Roofing? <i class=\"fa fa-info-circle\"></i>
\t\t\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
\t\t\t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the roofing industry, week by week!
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:20px;padding-left:25px;\">
\t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"metal-enews\" name=\"metal-enews\" checked>
\t\t\t\t\t\t\t<label class=\"form-check-label\" for=\"metal-enews\">
\t\t\t\t\t\t\t\t<span class=\"rtooltip\">Also sign up for Week In Metal? <i class=\"fa fa-info-circle\"></i>
\t\t\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
\t\t\t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the metal industry, week by week!
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endif %}
\t\t\t\t\t
\t\t\t\t\t<div class=\"form-row g-recaptcha\" data-sitekey=\"6LeEIlMUAAAAAGhdmJJLdJHPxaWx2GqBjber5n6B\"></div>
\t\t\t\t\t
\t\t\t\t\t<div style=\"text-align: center;\">
\t\t\t\t\t<button
\t\t\t\t\t\ttype=\"submit\"
\t\t\t\t\t\tclass=\"btn btn-secondary mt-2\"
\t\t\t\t\t>Sign Up</button>
\t\t\t\t\t</div>
\t\t\t\t\t</form>
\t\t\t\t</div>
\t\t\t\t
\t\t\t\t<div class=\"col-3\">
\t\t\t\t\t<p><br>We send our “<strong>Week in {{week_in}}</strong>” directly to your inbox with interesting information, great photos and cool products. You can Opt-out at any time, but why would you want to? Remember, we respect your privacy and we will never sell your email address!</p>
\t\t\t\t\t{#<p><img class=\"alignnone size-full wp-image-12401\" src=\"https://rooferscoffeeshop.com/uploads/media/2016/05/week-in-review.jpg\" alt=\"RoofersCoffeeShop.com Week in Roofing\" loading='lazy'></p>#}
\t\t\t\t</div>
\t\t\t</div>
\t\t\t
\t\t\t{# Members section #}
\t\t\t<br><hr><br>
\t\t\t{% if app.user and app.user.isMember() %}
\t\t\t\t{# Already a member. Leave blank? #}
\t\t\t{% elseif site_code is defined and site_code == constant(\"App\\\\Entity\\\\Content::SITE_RCS\") %}
\t\t\t\t<center>
\t\t\t\t<a href=\"/rcs-club-sign-up\"><img src=\"https://www.rooferscoffeeshop.com/uploads/media/2019/04/rcs-r-club.png\" style=\"width:450px; align: center;\" loading='lazy' /></a>
\t\t\t\t<p>Want exclusive access?</p>
\t\t\t\t<p>Want to be a part of the most exclusive roofers club in the world? <a href=\"/rcs-club-sign-up\">Learn More</a></p>
\t\t\t\t</center>
\t\t\t\t<hr>
\t\t\t{% endif %}
\t\t
\t{% endif %}
\t
\t
\t<script>
\t\t window.onload = () => {
\t\t \t\$('body > div.top-wrap > div > div > div > div.col-12.col-md-9 > form').submit((e) => {
\t\t \t\tdocument.querySelector(\"body > div.top-wrap > div > div > div > div.col-12.col-md-9 > form > button\").disabled = true
\t\t \t});
\t\t };
\t\tfunction clickEnews() {
\t\t\tvar checkBox = document.getElementById(\"enews\");
\t\t\tvar enewsFields = document.getElementById(\"enews-fields\");
\t\t\tif (checkBox.checked == true){
\t\t\t\tenewsFields.style.display = \"block\";
\t\t\t\t\$(\".enews-field\").attr('required', true);
\t\t\t\t\$(\"#outer-company-div\").css(\"display\",\"none\");
\t\t\t\t\$(\"#company2\").val(\$(\"#company1\").val());
\t\t\t\t\$(\"#company1\").attr(\"name\",\"lead[company_inactive]\");
\t\t\t\t\$(\"#company2\").attr(\"name\",\"lead[company]\");
\t\t\t} else {
\t\t\t\tenewsFields.style.display = \"none\";
\t\t\t\t\$(\".enews-field\").attr('required', false);
\t\t\t\t\$(\"#outer-company-div\").css(\"display\",\"block\");
\t\t\t\t\$(\"#company1\").val(\$(\"#company2\").val());
\t\t\t\t\$(\"#company1\").attr(\"name\",\"lead[company]\");
\t\t\t\t\$(\"#company2\").attr(\"name\",\"lead[company_inactive]\");
\t\t\t}
\t\t}
\t</script>
{% endblock %}
{% endembed %}
{% endblock %}", "forms/new-sign-up.html.twig", "/var/www/vhosts/rooferscoffeeshop.com/staging.rooferscoffeeshop.com/rcs-website/templates/forms/new-sign-up.html.twig");
}
}
/* forms/new-sign-up.html.twig */
class __TwigTemplate_b3e0ca7cfacc131f298ecfb4452a89b8___1852871478 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'column' => [$this, 'block_column'],
];
}
protected function doGetParent(array $context)
{
return "1-col-sidebar.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "forms/new-sign-up.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "forms/new-sign-up.html.twig"));
$this->parent = $this->loadTemplate("1-col-sidebar.html.twig", "forms/new-sign-up.html.twig", 4);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 6
public function block_column($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "column"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "column"));
// line 7
echo "
";
// line 8
if ((isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 8, $this->source); })())) {
// line 9
echo " <div class=\"alert alert-";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 9, $this->source); })()), "type", [], "any", false, false, false, 9), "html", null, true);
echo "\">
";
// line 10
if ((twig_get_attribute($this->env, $this->source, (isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 10, $this->source); })()), "type", [], "any", false, false, false, 10) == "warning")) {
// line 11
echo " <i class=\"fa fa-exclamation-triangle\"></i>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 12
(isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 12, $this->source); })()), "type", [], "any", false, false, false, 12) == "success")) {
// line 13
echo " <i class=\"fa fa-check\"></i>
";
}
// line 15
echo " ";
echo twig_get_attribute($this->env, $this->source, (isset($context["message"]) || array_key_exists("message", $context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.', 15, $this->source); })()), "text", [], "any", false, false, false, 15);
echo "
</div>
";
}
// line 18
echo "
\t";
// line 19
if (((isset($context["site_code"]) || array_key_exists("site_code", $context) ? $context["site_code"] : (function () { throw new RuntimeError('Variable "site_code" does not exist.', 19, $this->source); })()) == twig_constant("App\\Entity\\Content::SITE_RCS"))) {
// line 20
echo "\t\t";
$this->loadTemplate("includes/curtain-ads/rclub.html.twig", "forms/new-sign-up.html.twig", 20)->display($context);
// line 21
echo "\t";
}
// line 22
echo "\t
\t";
// line 23
if (twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 23, $this->source); })()), "user", [], "any", false, false, false, 23))) {
// line 24
echo "\t\t";
// line 25
echo "\t\t<form method=\"post\" action=\"\">
\t\t\t";
// line 27
echo "\t\t\t";
// line 28
echo "\t\t\t<h6>";
echo "Sign-up for an account to place a classified and to participate in the forum.</h6>
\t\t\t<p>Register for an account with RoofersCoffeeShop using the form below!</p>
\t\t\t
\t\t\t<input type=\"hidden\" id=\"site-signup\" name=\"site-signup\" value=\"1\">
\t\t\t
\t\t\t<div class=\"row\">
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\"><span>First Name:<span style=\"color:red\"> *</span></span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tname=\"lead[firstname]\"
\t\t\t\t\t\t\tplaceholder=\"Your First Name\"
\t\t\t\t\t\t\tvalue=\"";
// line 41
echo twig_escape_filter($this->env, (isset($context["firstname"]) || array_key_exists("firstname", $context) ? $context["firstname"] : (function () { throw new RuntimeError('Variable "firstname" does not exist.', 41, $this->source); })()), "html", null, true);
echo "\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t</label>\t
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\"><span>Last Name:<span style=\"color:red\"> *</span></span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tname=\"lead[lastname]\"
\t\t\t\t\t\t\tplaceholder=\"Your Last Name\"
\t\t\t\t\t\t\tvalue=\"";
// line 53
echo twig_escape_filter($this->env, (isset($context["lastname"]) || array_key_exists("lastname", $context) ? $context["lastname"] : (function () { throw new RuntimeError('Variable "lastname" does not exist.', 53, $this->source); })()), "html", null, true);
echo "\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\">Your Username<span style=\"color:red\"> *</span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tname=\"lead[username]\"
\t\t\t\t\t\t\tplaceholder=\"Your Username\"
\t\t\t\t\t\t\tvalue=\"";
// line 66
echo twig_escape_filter($this->env, (isset($context["username"]) || array_key_exists("username", $context) ? $context["username"] : (function () { throw new RuntimeError('Variable "username" does not exist.', 66, $this->source); })()), "html", null, true);
echo "\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t\t<span><i class=\"fa fa-exclamation-triangle\"></i> Username must be greater than 5 characters in length.</span>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\">Your E-mail Address<span style=\"color:red\"> *</span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tname=\"lead[email]\"
\t\t\t\t\t\t\tplaceholder=\"Your E-mail Address\"
\t\t\t\t\t\t\tvalue=\"";
// line 80
echo twig_escape_filter($this->env, (isset($context["email"]) || array_key_exists("email", $context) ? $context["email"] : (function () { throw new RuntimeError('Variable "email" does not exist.', 80, $this->source); })()), "html", null, true);
echo "\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\">Your Password<span style=\"color:red\"> *</span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\ttype=\"password\"
\t\t\t\t\t\t\tname=\"password1\"
\t\t\t\t\t\t\tplaceholder=\"Your Password\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\">Confirm Password<span style=\"color:red\"> *</span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\ttype=\"password\"
\t\t\t\t\t\t\tname=\"password2\"
\t\t\t\t\t\t\tplaceholder=\"Confirm Your Password\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\">Address Line 1<span style=\"color:red\"> *</span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tname=\"lead[address1]\"
\t\t\t\t\t\t\tplaceholder=\"Your Address Line 1\"
\t\t\t\t\t\t\tvalue=\"";
// line 116
echo twig_escape_filter($this->env, (isset($context["address1"]) || array_key_exists("address1", $context) ? $context["address1"] : (function () { throw new RuntimeError('Variable "address1" does not exist.', 116, $this->source); })()), "html", null, true);
echo "\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\">Address Line 2<span style=\"color:red\"></span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tname=\"lead[address2]\"
\t\t\t\t\t\t\tplaceholder=\"Your Address Line 2\"
\t\t\t\t\t\t\tvalue=\"";
// line 128
echo twig_escape_filter($this->env, (isset($context["address2"]) || array_key_exists("address2", $context) ? $context["address2"] : (function () { throw new RuntimeError('Variable "address2" does not exist.', 128, $this->source); })()), "html", null, true);
echo "\"
\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\">City<span style=\"color:red\"> *</span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tname=\"lead[city]\"
\t\t\t\t\t\t\tplaceholder=\"Your City\"
\t\t\t\t\t\t\tvalue=\"";
// line 139
echo twig_escape_filter($this->env, (isset($context["city"]) || array_key_exists("city", $context) ? $context["city"] : (function () { throw new RuntimeError('Variable "city" does not exist.', 139, $this->source); })()), "html", null, true);
echo "\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\">State / Region<span style=\"color:red\"> *</span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tname=\"lead[state]\"
\t\t\t\t\t\t\tplaceholder=\"Your State / Region\"
\t\t\t\t\t\t\tvalue=\"";
// line 151
echo twig_escape_filter($this->env, (isset($context["state"]) || array_key_exists("state", $context) ? $context["state"] : (function () { throw new RuntimeError('Variable "state" does not exist.', 151, $this->source); })()), "html", null, true);
echo "\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\">Zip Code<span style=\"color:red\"> *</span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tname=\"lead[zip]\"
\t\t\t\t\t\t\tplaceholder=\"Your Zip Code\"
\t\t\t\t\t\t\tvalue=\"";
// line 163
echo twig_escape_filter($this->env, (isset($context["zip"]) || array_key_exists("zip", $context) ? $context["zip"] : (function () { throw new RuntimeError('Variable "zip" does not exist.', 163, $this->source); })()), "html", null, true);
echo "\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-6\" id=\"outer-company-div\" ";
// line 168
echo ">
\t\t\t\t\t<label class=\"btn-block\">Company<span style=\"color:red\"> *</span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\t";
// line 174
echo "\t\t\t\t\t\t\tname=\"lead[company]\"
\t\t\t\t\t\t\tplaceholder=\"Your Company\"
\t\t\t\t\t\t\tvalue=\"";
// line 176
if (array_key_exists("company", $context)) {
echo twig_escape_filter($this->env, (isset($context["company"]) || array_key_exists("company", $context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.', 176, $this->source); })()), "html", null, true);
}
echo "\"
\t\t\t\t\t\t\tid=\"company1\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\"><span>Phone Number:";
// line 184
echo "</span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tclass=\"form-control enews-field\"
\t\t\t\t\t\t\tplaceholder=\"Your Phone Number\"
\t\t\t\t\t\t\tname=\"lead[phone]\"
\t\t\t\t\t\t\tvalue=\"";
// line 190
if (array_key_exists("phone", $context)) {
echo twig_escape_filter($this->env, (isset($context["phone"]) || array_key_exists("phone", $context) ? $context["phone"] : (function () { throw new RuntimeError('Variable "phone" does not exist.', 190, $this->source); })()), "html", null, true);
}
echo "\"
\t\t\t\t\t\t\t";
// line 192
echo "\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\"><span>Type of Work Performed:<span style=\"color:red\"> *</span></span>
\t\t\t\t\t\t<select
\t\t\t\t\t\t\tclass=\"form-control enews-field\"
\t\t\t\t\t\t\tname=\"lead[contractor_type]\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t>
\t\t\t\t\t\t<option value=\"Primarily Commercial\">Primarily Commercial</option>
\t\t\t\t\t\t<option value=\"Primarily Residential\">Primarily Residential</option>
\t\t\t\t\t\t<option value=\"Both\">Both</option>
\t\t\t\t\t\t<option value=\"Other\">Other</option>
\t\t\t\t\t\t<option value=\"Not a Contractor\">Not a Contractor</option>
\t\t\t\t\t\t</select>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\"><span>Country:<span style=\"color:red\"> *</span></span></label>
\t\t\t\t\t<label class=\"btn-block\">
\t\t\t\t\t\t<input
\t\t\t\t\t\t\ttype=\"radio\"
\t\t\t\t\t\t\tname=\"lead[country]\"
\t\t\t\t\t\t\tvalue=\"United States\"
\t\t\t\t\t\t\tclass=\"enews-field\"
\t\t\t\t\t\t\tchecked
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t\t<span>United States</span>
\t\t\t\t\t</label>
\t\t\t\t\t<label class=\"btn-block\">
\t\t\t\t\t\t<input
\t\t\t\t\t\t\ttype=\"radio\"
\t\t\t\t\t\t\tname=\"lead[country]\"
\t\t\t\t\t\t\tvalue=\"Canada\"
\t\t\t\t\t\t\tclass=\"enews-field\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t\t<span>Canada</span>
\t\t\t\t\t</label>
\t\t\t\t\t<label class=\"btn-block\">
\t\t\t\t\t\t<input
\t\t\t\t\t\t\ttype=\"radio\"
\t\t\t\t\t\t\tname=\"lead[country]\"
\t\t\t\t\t\t\tvalue=\"European Countries\"
\t\t\t\t\t\t\tclass=\"enews-field\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t\t<span>European Countries</span>
\t\t\t\t\t</label>
\t\t\t\t\t<label class=\"btn-block\">
\t\t\t\t\t\t<input
\t\t\t\t\t\t\ttype=\"radio\"
\t\t\t\t\t\t\tname=\"lead[country]\"
\t\t\t\t\t\t\tvalue=\"Other\"
\t\t\t\t\t\t\tclass=\"enews-field\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t\t<span><input
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tplaceholder=\"Other\"
\t\t\t\t\t\t\tname=\"lead[country_other]\"
\t\t\t\t\t\t\tclass=\"enews-field\"
\t\t\t\t\t\t/></span>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\"><span>Business Type:<span style=\"color:red\"> *</span></span>
\t\t\t\t\t\t<select
\t\t\t\t\t\t\tclass=\"form-control enews-field\"
\t\t\t\t\t\t\tname=\"lead[business_type]\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t>
\t\t\t\t\t\t\t<option value=\"Roofing Contractor\">Roofing Contractor</option>
\t\t\t\t\t\t\t<option value=\"Exterior/General Contractor\">Exterior/General Contractor</option>
\t\t\t\t\t\t\t<option value=\"Distributor\">Distributor</option>
\t\t\t\t\t\t\t<option value=\"Manufacturer/Business Services\">Manufacturer/Business Services</option>
\t\t\t\t\t\t\t<option value=\"Other\">Other</option>
\t\t\t\t\t\t</select>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t
\t\t\t\t
\t\t\t\t";
// line 280
echo "\t\t\t\t
\t\t\t\t<div class=\"col-sm-12\" ";
// line 281
echo " style=\"margin-top:30px;padding-left:25px;\">
\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"enews\" name=\"enews\" ";
// line 282
echo " checked>
\t\t\t\t\t<label class=\"form-check-label\" for=\"enews\">
\t\t\t\t\t\t<span class=\"rtooltip\">Sign up for Week In Roofing? <i class=\"fa fa-info-circle\"></i>
\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
\t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the roofing industry, week by week!
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</span>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:30px;padding-left:25px;\">
\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"metal-enews\" name=\"metal-enews\" checked>
\t\t\t\t\t<label class=\"form-check-label\" for=\"metal-enews\">
\t\t\t\t\t\t<span class=\"rtooltip\">Sign up for Week In Metal? <i class=\"fa fa-info-circle\"></i>
\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
\t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the metal industry, week by week!
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</span>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:30px;padding-left:25px;\">
\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"coatings-enews\" name=\"coatings-enews\" checked>
\t\t\t\t\t<label class=\"form-check-label\" for=\"coatings-enews\">
\t\t\t\t\t\t<span class=\"rtooltip\">Sign up for Week In Coatings? <i class=\"fa fa-info-circle\"></i>
\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
\t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the coatings industry, week by week!
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</span>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:30px;padding-left:25px;\">
\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"yes\" id=\"rclub_interest\" name=\"lead_custom[rclub_interest]\">
\t\t\t\t\t<label class=\"form-check-label\" for=\"rclub_interest\">
\t\t\t\t\t\t<span class=\"rtooltip\">Interested in R-Club? <i class=\"fa fa-info-circle\"></i>
\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:165px;width:210px;padding-left:10px;\">
\t\t\t\t\t\t\t\tThe most exclusive roofing contractors club in the world!
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</span>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t
\t\t\t\t
\t\t\t</div>
\t\t\t
\t\t\t
\t\t\t";
// line 439
echo "\t\t\t
\t\t\t
\t\t\t
\t\t\t";
// line 443
echo "\t\t\t";
// line 457
echo "\t\t\t
\t\t\t<br><div class=\"form-row g-recaptcha\" data-sitekey=\"6LeEIlMUAAAAAGhdmJJLdJHPxaWx2GqBjber5n6B\"></div>
\t\t\t<div style=\"text-align:center;\">
\t\t\t\t<button
\t\t\t\t\ttype=\"submit\"
\t\t\t\t\tclass=\"btn btn-secondary mt-2\"
\t\t\t\t\tstyle=\"font-size: 22px;\"
\t\t\t\t>Sign Up</button>
\t\t\t</div>
\t\t\t
\t\t\t<br>
\t\t\t<p>*Please check your spam folder if you don't receive an activation e-mail after several minutes. Contact us at info@rooferscoffeeshop.com if you need any additional help.</p> ";
// line 469
echo "\t\t\t
\t\t</form>
\t\t
\t\t
\t";
} else {
// line 474
echo "\t\t";
// line 475
echo "\t\t
\t\t";
// line 476
$context["week_in"] = "Roofing";
// line 477
echo "\t\t";
if ((array_key_exists("site_code", $context) && ((isset($context["site_code"]) || array_key_exists("site_code", $context) ? $context["site_code"] : (function () { throw new RuntimeError('Variable "site_code" does not exist.', 477, $this->source); })()) == twig_constant("App\\Entity\\Content::SITE_MCS")))) {
// line 478
echo "\t\t\t";
$context["week_in"] = "Metal";
// line 479
echo "\t\t";
}
// line 480
echo "\t\t";
if ((array_key_exists("site_code", $context) && ((isset($context["site_code"]) || array_key_exists("site_code", $context) ? $context["site_code"] : (function () { throw new RuntimeError('Variable "site_code" does not exist.', 480, $this->source); })()) == twig_constant("App\\Entity\\Content::SITE_CCS")))) {
// line 481
echo "\t\t\t";
$context["week_in"] = "Coatings";
// line 482
echo "\t\t";
}
// line 483
echo "
\t\t<div class=\"row\">
\t\t\t<div class=\"col-9\">
\t\t\t\t<h3>Sign Up for the \"Week in ";
// line 486
echo twig_escape_filter($this->env, (isset($context["week_in"]) || array_key_exists("week_in", $context) ? $context["week_in"] : (function () { throw new RuntimeError('Variable "week_in" does not exist.', 486, $this->source); })()), "html", null, true);
echo "\"</h3>
\t\t\t\t<p>Don't miss our recap of the week's best industry posts!</p>
\t\t\t\t\t
\t\t\t\t<form method=\"post\" class=\"py-4\">
\t\t\t\t\t
\t\t\t\t\t<input type=\"hidden\" id=\"enews-signup\" name=\"enews-signup\" value=\"1\">
\t\t\t\t\t";
// line 493
if ((array_key_exists("site_code", $context) && ((isset($context["site_code"]) || array_key_exists("site_code", $context) ? $context["site_code"] : (function () { throw new RuntimeError('Variable "site_code" does not exist.', 493, $this->source); })()) == twig_constant("App\\Entity\\Content::SITE_RCS")))) {
// line 494
echo "\t\t\t\t\t\t<input type=\"hidden\" id=\"enews\" name=\"enews\" value=\"1\">
\t\t\t\t\t";
} elseif (( // line 495
array_key_exists("site_code", $context) && ((isset($context["site_code"]) || array_key_exists("site_code", $context) ? $context["site_code"] : (function () { throw new RuntimeError('Variable "site_code" does not exist.', 495, $this->source); })()) == twig_constant("App\\Entity\\Content::SITE_MCS")))) {
// line 496
echo "\t\t\t\t\t\t<input type=\"hidden\" id=\"metal-enews\" name=\"metal-enews\" value=\"1\">
\t\t\t\t\t";
} elseif (( // line 497
array_key_exists("site_code", $context) && ((isset($context["site_code"]) || array_key_exists("site_code", $context) ? $context["site_code"] : (function () { throw new RuntimeError('Variable "site_code" does not exist.', 497, $this->source); })()) == twig_constant("App\\Entity\\Content::SITE_CCS")))) {
// line 498
echo "\t\t\t\t\t\t<input type=\"hidden\" id=\"coatings-enews\" name=\"coatings-enews\" value=\"1\">
\t\t\t\t\t";
}
// line 500
echo "\t\t\t\t\t
\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\"><span>First Name:<span style=\"color:red\"> *</span></span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\tplaceholder=\"Your First Name\"
\t\t\t\t\t\t\tname=\"lead[firstname]\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t\t
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\"><span>Last Name:<span style=\"color:red\"> *</span></span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\tplaceholder=\"Your Last Name\"
\t\t\t\t\t\t\tname=\"lead[lastname]\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t\t
\t\t\t\t\t<label class=\"btn-block\"><span>Email:<span style=\"color:red\"> *</span></span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\tplaceholder=\"Your Email Address\"
\t\t\t\t\t\t\tname=\"lead[email]\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t\t
\t\t\t\t\t<label class=\"btn-block\"><span>Company:<span style=\"color:red\"> *</span></span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\tplaceholder=\"Your Company\"
\t\t\t\t\t\t\tname=\"lead[company]\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t\t
\t\t\t\t\t<label class=\"btn-block\"><span>Type of Work Performed:<span style=\"color:red\"> *</span></span>
\t\t\t\t\t\t<select
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\tname=\"lead[contractor_type]\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t>
\t\t\t\t\t\t<option value=\"Primarily Commercial\">Primarily Commercial</option>
\t\t\t\t\t\t<option value=\"Primarily Residential\">Primarily Residential</option>
\t\t\t\t\t\t<option value=\"Both\">Both</option>
\t\t\t\t\t\t<option value=\"Other\">Other</option>
\t\t\t\t\t\t</select>
\t\t\t\t\t</label>
\t\t\t\t\t
\t\t\t\t\t
\t\t\t\t\t<label class=\"btn-block\"><span>Country:<span style=\"color:red\"> *</span></span></label>
\t\t\t\t\t<label class=\"btn-block\">
\t\t\t\t\t\t<input
\t\t\t\t\t\t\ttype=\"radio\"
\t\t\t\t\t\t\tname=\"lead[country]\"
\t\t\t\t\t\t\tvalue=\"United States\"
\t\t\t\t\t\t\tchecked
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t\t<span>United States</span>
\t\t\t\t\t</label>
\t\t\t\t\t<label class=\"btn-block\">
\t\t\t\t\t\t<input
\t\t\t\t\t\t\ttype=\"radio\"
\t\t\t\t\t\t\tname=\"lead[country]\"
\t\t\t\t\t\t\tvalue=\"Canada\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t\t<span>Canada</span>
\t\t\t\t\t</label>
\t\t\t\t\t<label class=\"btn-block\">
\t\t\t\t\t\t<input
\t\t\t\t\t\t\ttype=\"radio\"
\t\t\t\t\t\t\tname=\"lead[country]\"
\t\t\t\t\t\t\tvalue=\"European Countries\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t\t<span>European Countries</span>
\t\t\t\t\t</label>
\t\t\t\t\t<label class=\"btn-block\">
\t\t\t\t\t\t<input
\t\t\t\t\t\t\ttype=\"radio\"
\t\t\t\t\t\t\tname=\"lead[country]\"
\t\t\t\t\t\t\tvalue=\"Other\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t\t<span><input
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tplaceholder=\"Other\"
\t\t\t\t\t\t\tname=\"lead[country_other]\"
\t\t\t\t\t\t/></span>
\t\t\t\t\t</label>
\t\t\t\t\t
\t\t\t\t\t
\t\t\t\t\t<label class=\"btn-block\"><span>Business Type:<span style=\"color:red\"> *</span></span>
\t\t\t\t\t\t<select
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\tname=\"lead[business_type]\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t>
\t\t\t\t\t\t<option value=\"Roofing Contractor\">Roofing Contractor</option>
\t\t\t\t\t\t<option value=\"Exterior/General Contractor\">Exterior/General Contractor</option>
\t\t\t\t\t\t<option value=\"Distributor\">Distributor</option>
\t\t\t\t\t\t<option value=\"Manufacturer/Business Services\">Manufacturer/Business Services</option>
\t\t\t\t\t\t<option value=\"Other\">Other</option>
\t\t\t\t\t\t</select>
\t\t\t\t\t</label>
\t\t\t\t\t
\t\t\t\t\t";
// line 619
if (((isset($context["week_in"]) || array_key_exists("week_in", $context) ? $context["week_in"] : (function () { throw new RuntimeError('Variable "week_in" does not exist.', 619, $this->source); })()) == "Roofing")) {
// line 620
echo "\t\t\t\t\t
\t\t\t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:20px;padding-left:25px;\">
\t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"metal-enews\" name=\"metal-enews\" checked>
\t\t\t\t\t\t\t<label class=\"form-check-label\" for=\"metal-enews\">
\t\t\t\t\t\t\t\t<span class=\"rtooltip\">Also sign up for Week In Metal? <i class=\"fa fa-info-circle\"></i>
\t\t\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
\t\t\t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the metal industry, week by week!
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:20px;padding-left:25px;\">
\t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"coatings-enews\" name=\"coatings-enews\" checked>
\t\t\t\t\t\t\t<label class=\"form-check-label\" for=\"coatings-enews\">
\t\t\t\t\t\t\t\t<span class=\"rtooltip\">Also sign up for Week In Coatings? <i class=\"fa fa-info-circle\"></i>
\t\t\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
\t\t\t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the coatings industry, week by week!
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
} elseif (( // line 643
(isset($context["week_in"]) || array_key_exists("week_in", $context) ? $context["week_in"] : (function () { throw new RuntimeError('Variable "week_in" does not exist.', 643, $this->source); })()) == "Metal")) {
// line 644
echo "
\t\t\t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:20px;padding-left:25px;\">
\t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"enews\" name=\"enews\" checked>
\t\t\t\t\t\t\t<label class=\"form-check-label\" for=\"enews\">
\t\t\t\t\t\t\t\t<span class=\"rtooltip\">Also sign up for Week In Roofing? <i class=\"fa fa-info-circle\"></i>
\t\t\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
\t\t\t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the roofing industry, week by week!
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:20px;padding-left:25px;\">
\t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"coatings-enews\" name=\"coatings-enews\" checked>
\t\t\t\t\t\t\t<label class=\"form-check-label\" for=\"coatings-enews\">
\t\t\t\t\t\t\t\t<span class=\"rtooltip\">Also sign up for Week In Coatings? <i class=\"fa fa-info-circle\"></i>
\t\t\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
\t\t\t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the coatings industry, week by week!
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
} elseif (( // line 667
(isset($context["week_in"]) || array_key_exists("week_in", $context) ? $context["week_in"] : (function () { throw new RuntimeError('Variable "week_in" does not exist.', 667, $this->source); })()) == "Coatings")) {
// line 668
echo "
\t\t\t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:20px;padding-left:25px;\">
\t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"enews\" name=\"enews\" checked>
\t\t\t\t\t\t\t<label class=\"form-check-label\" for=\"enews\">
\t\t\t\t\t\t\t\t<span class=\"rtooltip\">Also sign up for Week In Roofing? <i class=\"fa fa-info-circle\"></i>
\t\t\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
\t\t\t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the roofing industry, week by week!
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:20px;padding-left:25px;\">
\t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"metal-enews\" name=\"metal-enews\" checked>
\t\t\t\t\t\t\t<label class=\"form-check-label\" for=\"metal-enews\">
\t\t\t\t\t\t\t\t<span class=\"rtooltip\">Also sign up for Week In Metal? <i class=\"fa fa-info-circle\"></i>
\t\t\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
\t\t\t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the metal industry, week by week!
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
// line 692
echo "\t\t\t\t\t
\t\t\t\t\t<div class=\"form-row g-recaptcha\" data-sitekey=\"6LeEIlMUAAAAAGhdmJJLdJHPxaWx2GqBjber5n6B\"></div>
\t\t\t\t\t
\t\t\t\t\t<div style=\"text-align: center;\">
\t\t\t\t\t<button
\t\t\t\t\t\ttype=\"submit\"
\t\t\t\t\t\tclass=\"btn btn-secondary mt-2\"
\t\t\t\t\t>Sign Up</button>
\t\t\t\t\t</div>
\t\t\t\t\t</form>
\t\t\t\t</div>
\t\t\t\t
\t\t\t\t<div class=\"col-3\">
\t\t\t\t\t<p><br>We send our “<strong>Week in ";
// line 705
echo twig_escape_filter($this->env, (isset($context["week_in"]) || array_key_exists("week_in", $context) ? $context["week_in"] : (function () { throw new RuntimeError('Variable "week_in" does not exist.', 705, $this->source); })()), "html", null, true);
echo "</strong>” directly to your inbox with interesting information, great photos and cool products. You can Opt-out at any time, but why would you want to? Remember, we respect your privacy and we will never sell your email address!</p>
\t\t\t\t\t";
// line 707
echo "\t\t\t\t</div>
\t\t\t</div>
\t\t\t
\t\t\t";
// line 711
echo "\t\t\t<br><hr><br>
\t\t\t";
// line 712
if ((twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 712, $this->source); })()), "user", [], "any", false, false, false, 712) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 712, $this->source); })()), "user", [], "any", false, false, false, 712), "isMember", [], "method", false, false, false, 712))) {
// line 713
echo "\t\t\t\t";
// line 714
echo "\t\t\t";
} elseif ((array_key_exists("site_code", $context) && ((isset($context["site_code"]) || array_key_exists("site_code", $context) ? $context["site_code"] : (function () { throw new RuntimeError('Variable "site_code" does not exist.', 714, $this->source); })()) == twig_constant("App\\Entity\\Content::SITE_RCS")))) {
// line 715
echo "\t\t\t\t<center>
\t\t\t\t<a href=\"/rcs-club-sign-up\"><img src=\"https://www.rooferscoffeeshop.com/uploads/media/2019/04/rcs-r-club.png\" style=\"width:450px; align: center;\" loading='lazy' /></a>
\t\t\t\t<p>Want exclusive access?</p>
\t\t\t\t<p>Want to be a part of the most exclusive roofers club in the world? <a href=\"/rcs-club-sign-up\">Learn More</a></p>
\t\t\t\t</center>
\t\t\t\t<hr>
\t\t\t";
}
// line 722
echo "\t\t
\t";
}
// line 724
echo "\t
\t
\t<script>
\t\t window.onload = () => {
\t\t \t\$('body > div.top-wrap > div > div > div > div.col-12.col-md-9 > form').submit((e) => {
\t\t \t\tdocument.querySelector(\"body > div.top-wrap > div > div > div > div.col-12.col-md-9 > form > button\").disabled = true
\t\t \t});
\t\t };
\t\tfunction clickEnews() {
\t\t\tvar checkBox = document.getElementById(\"enews\");
\t\t\tvar enewsFields = document.getElementById(\"enews-fields\");
\t\t\tif (checkBox.checked == true){
\t\t\t\tenewsFields.style.display = \"block\";
\t\t\t\t\$(\".enews-field\").attr('required', true);
\t\t\t\t\$(\"#outer-company-div\").css(\"display\",\"none\");
\t\t\t\t\$(\"#company2\").val(\$(\"#company1\").val());
\t\t\t\t\$(\"#company1\").attr(\"name\",\"lead[company_inactive]\");
\t\t\t\t\$(\"#company2\").attr(\"name\",\"lead[company]\");
\t\t\t} else {
\t\t\t\tenewsFields.style.display = \"none\";
\t\t\t\t\$(\".enews-field\").attr('required', false);
\t\t\t\t\$(\"#outer-company-div\").css(\"display\",\"block\");
\t\t\t\t\$(\"#company1\").val(\$(\"#company2\").val());
\t\t\t\t\$(\"#company1\").attr(\"name\",\"lead[company]\");
\t\t\t\t\$(\"#company2\").attr(\"name\",\"lead[company_inactive]\");
\t\t\t}
\t\t}
\t</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "forms/new-sign-up.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 1647 => 724, 1643 => 722, 1634 => 715, 1631 => 714, 1629 => 713, 1627 => 712, 1624 => 711, 1619 => 707, 1615 => 705, 1600 => 692, 1574 => 668, 1572 => 667, 1547 => 644, 1545 => 643, 1520 => 620, 1518 => 619, 1397 => 500, 1393 => 498, 1391 => 497, 1388 => 496, 1386 => 495, 1383 => 494, 1381 => 493, 1371 => 486, 1366 => 483, 1363 => 482, 1360 => 481, 1357 => 480, 1354 => 479, 1351 => 478, 1348 => 477, 1346 => 476, 1343 => 475, 1341 => 474, 1334 => 469, 1321 => 457, 1319 => 443, 1314 => 439, 1265 => 282, 1262 => 281, 1259 => 280, 1170 => 192, 1164 => 190, 1156 => 184, 1143 => 176, 1139 => 174, 1132 => 168, 1124 => 163, 1109 => 151, 1094 => 139, 1080 => 128, 1065 => 116, 1026 => 80, 1009 => 66, 993 => 53, 978 => 41, 962 => 28, 960 => 27, 957 => 25, 955 => 24, 953 => 23, 950 => 22, 947 => 21, 944 => 20, 942 => 19, 939 => 18, 932 => 15, 928 => 13, 926 => 12, 923 => 11, 921 => 10, 916 => 9, 914 => 8, 911 => 7, 901 => 6, 71 => 4, 68 => 3, 58 => 2, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends \"base.html.twig\" %}
{% block body %}
{% embed \"1-col-sidebar.html.twig\" %}
{% block column %}
{% if message %}
<div class=\"alert alert-{{ message.type }}\">
{% if message.type == 'warning' %}
<i class=\"fa fa-exclamation-triangle\"></i>
{% elseif message.type == 'success' %}
<i class=\"fa fa-check\"></i>
{% endif %}
{{ message.text | raw}}
</div>
{% endif %}
\t{% if site_code == constant(\"App\\\\Entity\\\\Content::SITE_RCS\") %}
\t\t{% include \"includes/curtain-ads/rclub.html.twig\" %}
\t{% endif %}
\t
\t{% if app.user is empty %}
\t\t{# Not a user, show the user sign up form w/ Week in Roofing section #}
\t\t<form method=\"post\" action=\"\">
\t\t\t{# <img src=\"https://www.rooferscoffeeshop.com/uploads/media/2019/09/be-a-part-of-r-club.png\" alt=\"Be a part of R-Club\" loading='lazy'> #}
\t\t\t{#<h3>3 SIGN UP OPTIONS</h3><br>#}
\t\t\t<h6>{#1. #}Sign-up for an account to place a classified and to participate in the forum.</h6>
\t\t\t<p>Register for an account with RoofersCoffeeShop using the form below!</p>
\t\t\t
\t\t\t<input type=\"hidden\" id=\"site-signup\" name=\"site-signup\" value=\"1\">
\t\t\t
\t\t\t<div class=\"row\">
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\"><span>First Name:<span style=\"color:red\"> *</span></span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tname=\"lead[firstname]\"
\t\t\t\t\t\t\tplaceholder=\"Your First Name\"
\t\t\t\t\t\t\tvalue=\"{{ firstname }}\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t</label>\t
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\"><span>Last Name:<span style=\"color:red\"> *</span></span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tname=\"lead[lastname]\"
\t\t\t\t\t\t\tplaceholder=\"Your Last Name\"
\t\t\t\t\t\t\tvalue=\"{{ lastname }}\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\">Your Username<span style=\"color:red\"> *</span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tname=\"lead[username]\"
\t\t\t\t\t\t\tplaceholder=\"Your Username\"
\t\t\t\t\t\t\tvalue=\"{{ username }}\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t\t<span><i class=\"fa fa-exclamation-triangle\"></i> Username must be greater than 5 characters in length.</span>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\">Your E-mail Address<span style=\"color:red\"> *</span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tname=\"lead[email]\"
\t\t\t\t\t\t\tplaceholder=\"Your E-mail Address\"
\t\t\t\t\t\t\tvalue=\"{{ email }}\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\">Your Password<span style=\"color:red\"> *</span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\ttype=\"password\"
\t\t\t\t\t\t\tname=\"password1\"
\t\t\t\t\t\t\tplaceholder=\"Your Password\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\">Confirm Password<span style=\"color:red\"> *</span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\ttype=\"password\"
\t\t\t\t\t\t\tname=\"password2\"
\t\t\t\t\t\t\tplaceholder=\"Confirm Your Password\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\">Address Line 1<span style=\"color:red\"> *</span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tname=\"lead[address1]\"
\t\t\t\t\t\t\tplaceholder=\"Your Address Line 1\"
\t\t\t\t\t\t\tvalue=\"{{ address1 }}\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\">Address Line 2<span style=\"color:red\"></span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tname=\"lead[address2]\"
\t\t\t\t\t\t\tplaceholder=\"Your Address Line 2\"
\t\t\t\t\t\t\tvalue=\"{{ address2 }}\"
\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\">City<span style=\"color:red\"> *</span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tname=\"lead[city]\"
\t\t\t\t\t\t\tplaceholder=\"Your City\"
\t\t\t\t\t\t\tvalue=\"{{ city }}\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\">State / Region<span style=\"color:red\"> *</span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tname=\"lead[state]\"
\t\t\t\t\t\t\tplaceholder=\"Your State / Region\"
\t\t\t\t\t\t\tvalue=\"{{ state }}\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\">Zip Code<span style=\"color:red\"> *</span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tname=\"lead[zip]\"
\t\t\t\t\t\t\tplaceholder=\"Your Zip Code\"
\t\t\t\t\t\t\tvalue=\"{{ zip }}\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-6\" id=\"outer-company-div\" {#style=\"display:none;\"#}>
\t\t\t\t\t<label class=\"btn-block\">Company<span style=\"color:red\"> *</span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\t{#name=\"lead[company_inactive]\"#}
\t\t\t\t\t\t\tname=\"lead[company]\"
\t\t\t\t\t\t\tplaceholder=\"Your Company\"
\t\t\t\t\t\t\tvalue=\"{% if company is defined %}{{company}}{% endif %}\"
\t\t\t\t\t\t\tid=\"company1\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\"><span>Phone Number:{#<span style=\"color:red\"> *</span>#}</span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tclass=\"form-control enews-field\"
\t\t\t\t\t\t\tplaceholder=\"Your Phone Number\"
\t\t\t\t\t\t\tname=\"lead[phone]\"
\t\t\t\t\t\t\tvalue=\"{% if phone is defined %}{{phone}}{% endif %}\"
\t\t\t\t\t\t\t{#required#}
\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\"><span>Type of Work Performed:<span style=\"color:red\"> *</span></span>
\t\t\t\t\t\t<select
\t\t\t\t\t\t\tclass=\"form-control enews-field\"
\t\t\t\t\t\t\tname=\"lead[contractor_type]\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t>
\t\t\t\t\t\t<option value=\"Primarily Commercial\">Primarily Commercial</option>
\t\t\t\t\t\t<option value=\"Primarily Residential\">Primarily Residential</option>
\t\t\t\t\t\t<option value=\"Both\">Both</option>
\t\t\t\t\t\t<option value=\"Other\">Other</option>
\t\t\t\t\t\t<option value=\"Not a Contractor\">Not a Contractor</option>
\t\t\t\t\t\t</select>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\"><span>Country:<span style=\"color:red\"> *</span></span></label>
\t\t\t\t\t<label class=\"btn-block\">
\t\t\t\t\t\t<input
\t\t\t\t\t\t\ttype=\"radio\"
\t\t\t\t\t\t\tname=\"lead[country]\"
\t\t\t\t\t\t\tvalue=\"United States\"
\t\t\t\t\t\t\tclass=\"enews-field\"
\t\t\t\t\t\t\tchecked
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t\t<span>United States</span>
\t\t\t\t\t</label>
\t\t\t\t\t<label class=\"btn-block\">
\t\t\t\t\t\t<input
\t\t\t\t\t\t\ttype=\"radio\"
\t\t\t\t\t\t\tname=\"lead[country]\"
\t\t\t\t\t\t\tvalue=\"Canada\"
\t\t\t\t\t\t\tclass=\"enews-field\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t\t<span>Canada</span>
\t\t\t\t\t</label>
\t\t\t\t\t<label class=\"btn-block\">
\t\t\t\t\t\t<input
\t\t\t\t\t\t\ttype=\"radio\"
\t\t\t\t\t\t\tname=\"lead[country]\"
\t\t\t\t\t\t\tvalue=\"European Countries\"
\t\t\t\t\t\t\tclass=\"enews-field\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t\t<span>European Countries</span>
\t\t\t\t\t</label>
\t\t\t\t\t<label class=\"btn-block\">
\t\t\t\t\t\t<input
\t\t\t\t\t\t\ttype=\"radio\"
\t\t\t\t\t\t\tname=\"lead[country]\"
\t\t\t\t\t\t\tvalue=\"Other\"
\t\t\t\t\t\t\tclass=\"enews-field\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t\t<span><input
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tplaceholder=\"Other\"
\t\t\t\t\t\t\tname=\"lead[country_other]\"
\t\t\t\t\t\t\tclass=\"enews-field\"
\t\t\t\t\t\t/></span>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t
\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\"><span>Business Type:<span style=\"color:red\"> *</span></span>
\t\t\t\t\t\t<select
\t\t\t\t\t\t\tclass=\"form-control enews-field\"
\t\t\t\t\t\t\tname=\"lead[business_type]\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t>
\t\t\t\t\t\t\t<option value=\"Roofing Contractor\">Roofing Contractor</option>
\t\t\t\t\t\t\t<option value=\"Exterior/General Contractor\">Exterior/General Contractor</option>
\t\t\t\t\t\t\t<option value=\"Distributor\">Distributor</option>
\t\t\t\t\t\t\t<option value=\"Manufacturer/Business Services\">Manufacturer/Business Services</option>
\t\t\t\t\t\t\t<option value=\"Other\">Other</option>
\t\t\t\t\t\t</select>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t
\t\t\t\t
\t\t\t\t{#<h6>2. Add the \"Week In Roofing\" E-news</h6>#}
\t\t\t\t
\t\t\t\t<div class=\"col-sm-12\" {# class=\"form-check\" #} style=\"margin-top:30px;padding-left:25px;\">
\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"enews\" name=\"enews\" {#onclick=\"clickEnews()\"#} checked>
\t\t\t\t\t<label class=\"form-check-label\" for=\"enews\">
\t\t\t\t\t\t<span class=\"rtooltip\">Sign up for Week In Roofing? <i class=\"fa fa-info-circle\"></i>
\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
\t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the roofing industry, week by week!
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</span>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:30px;padding-left:25px;\">
\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"metal-enews\" name=\"metal-enews\" checked>
\t\t\t\t\t<label class=\"form-check-label\" for=\"metal-enews\">
\t\t\t\t\t\t<span class=\"rtooltip\">Sign up for Week In Metal? <i class=\"fa fa-info-circle\"></i>
\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
\t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the metal industry, week by week!
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</span>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:30px;padding-left:25px;\">
\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"coatings-enews\" name=\"coatings-enews\" checked>
\t\t\t\t\t<label class=\"form-check-label\" for=\"coatings-enews\">
\t\t\t\t\t\t<span class=\"rtooltip\">Sign up for Week In Coatings? <i class=\"fa fa-info-circle\"></i>
\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
\t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the coatings industry, week by week!
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</span>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:30px;padding-left:25px;\">
\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"yes\" id=\"rclub_interest\" name=\"lead_custom[rclub_interest]\">
\t\t\t\t\t<label class=\"form-check-label\" for=\"rclub_interest\">
\t\t\t\t\t\t<span class=\"rtooltip\">Interested in R-Club? <i class=\"fa fa-info-circle\"></i>
\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:165px;width:210px;padding-left:10px;\">
\t\t\t\t\t\t\t\tThe most exclusive roofing contractors club in the world!
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</span>
\t\t\t\t\t</label>
\t\t\t\t</div>
\t\t\t\t
\t\t\t\t
\t\t\t</div>
\t\t\t
\t\t\t
\t\t\t{#
\t\t\t<div id=\"enews-fields\">
\t\t\t\t<div class=\"row\">
\t\t\t\t\t<div class=\"col-8\">
\t\t\t\t\t\t
\t\t\t\t\t\t<label class=\"btn-block\"><span>Company:<span style=\"color:red\"> *</span></span>
\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\t\tclass=\"form-control enews-field\"
\t\t\t\t\t\t\t\tplaceholder=\"Your Company\"
\t\t\t\t\t\t\t\tname=\"lead[company]\"
\t\t\t\t\t\t\t\tid=\"company2\"
\t\t\t\t\t\t\t\trequired
\t\t\t\t\t\t\t/>
\t\t\t\t\t\t</label>
\t\t\t\t\t\t
\t\t\t\t\t\t<label class=\"btn-block\"><span>Phone Number:<span style=\"color:red\"> *</span></span>
\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\t\tclass=\"form-control enews-field\"
\t\t\t\t\t\t\t\tplaceholder=\"Your Phone Number\"
\t\t\t\t\t\t\t\tname=\"lead[phone]\"
\t\t\t\t\t\t\t\trequired
\t\t\t\t\t\t\t/>
\t\t\t\t\t\t</label>
\t\t\t\t\t\t
\t\t\t\t\t\t<label class=\"btn-block\"><span>Type of Work Performed:<span style=\"color:red\"> *</span></span>
\t\t\t\t\t\t\t<select
\t\t\t\t\t\t\t\tclass=\"form-control enews-field\"
\t\t\t\t\t\t\t\tname=\"lead[contractor_type]\"
\t\t\t\t\t\t\t\trequired
\t\t\t\t\t\t\t>
\t\t\t\t\t\t\t<option value=\"Primarily Commercial\">Primarily Commercial</option>
\t\t\t\t\t\t\t<option value=\"Primarily Residential\">Primarily Residential</option>
\t\t\t\t\t\t\t<option value=\"Both\">Both</option>
\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t</label>
\t\t\t\t\t\t
\t\t\t\t\t\t
\t\t\t\t\t\t<label class=\"btn-block\"><span>Country:<span style=\"color:red\"> *</span></span></label>
\t\t\t\t\t\t<label class=\"btn-block\">
\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\ttype=\"radio\"
\t\t\t\t\t\t\t\tname=\"lead[country]\"
\t\t\t\t\t\t\t\tvalue=\"United States\"
\t\t\t\t\t\t\t\tclass=\"enews-field\"
\t\t\t\t\t\t\t\tchecked
\t\t\t\t\t\t\t\trequired
\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t<span>United States</span>
\t\t\t\t\t\t</label>
\t\t\t\t\t\t<label class=\"btn-block\">
\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\ttype=\"radio\"
\t\t\t\t\t\t\t\tname=\"lead[country]\"
\t\t\t\t\t\t\t\tvalue=\"Canada\"
\t\t\t\t\t\t\t\tclass=\"enews-field\"
\t\t\t\t\t\t\t\trequired
\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t<span>Canada</span>
\t\t\t\t\t\t</label>
\t\t\t\t\t\t<label class=\"btn-block\">
\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\ttype=\"radio\"
\t\t\t\t\t\t\t\tname=\"lead[country]\"
\t\t\t\t\t\t\t\tvalue=\"European Countries\"
\t\t\t\t\t\t\t\tclass=\"enews-field\"
\t\t\t\t\t\t\t\trequired
\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t<span>European Countries</span>
\t\t\t\t\t\t</label>
\t\t\t\t\t\t<label class=\"btn-block\">
\t\t\t\t\t\t\t<input
\t\t\t\t\t\t\t\ttype=\"radio\"
\t\t\t\t\t\t\t\tname=\"lead[country]\"
\t\t\t\t\t\t\t\tvalue=\"Other\"
\t\t\t\t\t\t\t\tclass=\"enews-field\"
\t\t\t\t\t\t\t\trequired
\t\t\t\t\t\t\t/>
\t\t\t\t\t\t\t<span><input
\t\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\t\tplaceholder=\"Other\"
\t\t\t\t\t\t\t\tname=\"lead[country_other]\"
\t\t\t\t\t\t\t\tclass=\"enews-field\"
\t\t\t\t\t\t\t/></span>
\t\t\t\t\t\t</label>
\t\t\t\t\t\t
\t\t\t\t\t\t
\t\t\t\t\t\t<label class=\"btn-block\"><span>Business Type:<span style=\"color:red\"> *</span></span>
\t\t\t\t\t\t\t<select
\t\t\t\t\t\t\t\tclass=\"form-control enews-field\"
\t\t\t\t\t\t\t\tname=\"lead[business_type]\"
\t\t\t\t\t\t\t\trequired
\t\t\t\t\t\t\t>
\t\t\t\t\t\t\t\t<option value=\"Roofing Contractor\">Roofing Contractor</option>
\t\t\t\t\t\t\t\t<option value=\"Exterior/General Contractor\">Exterior/General Contractor</option>
\t\t\t\t\t\t\t\t<option value=\"Distributor\">Distributor</option>
\t\t\t\t\t\t\t\t<option value=\"Manufacturer/Business Services\">Manufacturer/Business Services</option>
\t\t\t\t\t\t\t\t<option value=\"Other\">Other</option>
\t\t\t\t\t\t\t</select>
\t\t\t\t\t\t</label>
\t\t\t\t\t</div>
\t\t\t\t\t
\t\t\t\t\t<div class=\"col-4\">
\t\t\t\t\t\t<p>We send our “<strong>Week In Roofing</strong>” directly to your inbox with interesting information, great photos and cool products. You can Opt-out at any time, but why would you want to? Remember, we respect your privacy and we will never sell your email address!</p>
\t\t\t\t\t\t{ #<p><img class=\"alignnone size-full wp-image-12401\" src=\"https://rooferscoffeeshop.com/uploads/media/2016/05/week-in-review.jpg\" alt=\"RoofersCoffeeShop.com Week in Roofing\" loading='lazy'></p># }
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t#}
\t\t\t
\t\t\t
\t\t\t
\t\t\t{# Members section #}
\t\t\t{#
\t\t\t<br><hr><br>
\t\t\t<h6>3. Sign up for complete access for all the RoofersCoffeeShop has to offer.</h6>
\t\t\t{% if app.user and app.user.isMember() %}
\t\t\t\t<!--Already a member. Leave blank?-->
\t\t\t{% else %}
\t\t\t\t<center>
\t\t\t\t<a href=\"/rcs-club-sign-up\"><img src=\"https://www.rooferscoffeeshop.com/uploads/media/2019/04/rcs-r-club.png\" style=\"width:450px; align: center;\" loading='lazy' /></a>
\t\t\t\t<p>Want exclusive access?</p>
\t\t\t\t<p>Want to be a part of the most exclusive roofers club in the world? <a href=\"/rcs-club-sign-up\">Learn More</a></p>
\t\t\t\t</center>
\t\t\t\t<hr>
\t\t\t{% endif %}
\t\t\t#}
\t\t\t
\t\t\t<br><div class=\"form-row g-recaptcha\" data-sitekey=\"6LeEIlMUAAAAAGhdmJJLdJHPxaWx2GqBjber5n6B\"></div>
\t\t\t<div style=\"text-align:center;\">
\t\t\t\t<button
\t\t\t\t\ttype=\"submit\"
\t\t\t\t\tclass=\"btn btn-secondary mt-2\"
\t\t\t\t\tstyle=\"font-size: 22px;\"
\t\t\t\t>Sign Up</button>
\t\t\t</div>
\t\t\t
\t\t\t<br>
\t\t\t<p>*Please check your spam folder if you don't receive an activation e-mail after several minutes. Contact us at info@rooferscoffeeshop.com if you need any additional help.</p> {#'#}
\t\t\t
\t\t</form>
\t\t
\t\t
\t{% else %}
\t\t{# Already a user, just show the Week in Roofing sign up #}
\t\t
\t\t{% set week_in = 'Roofing' %}
\t\t{% if site_code is defined and site_code == constant(\"App\\\\Entity\\\\Content::SITE_MCS\") %}
\t\t\t{% set week_in = 'Metal' %}
\t\t{% endif %}
\t\t{% if site_code is defined and site_code == constant(\"App\\\\Entity\\\\Content::SITE_CCS\") %}
\t\t\t{% set week_in = 'Coatings' %}
\t\t{% endif %}
\t\t<div class=\"row\">
\t\t\t<div class=\"col-9\">
\t\t\t\t<h3>Sign Up for the \"Week in {{week_in}}\"</h3>
\t\t\t\t<p>Don't miss our recap of the week's best industry posts!</p>
\t\t\t\t\t
\t\t\t\t<form method=\"post\" class=\"py-4\">
\t\t\t\t\t
\t\t\t\t\t<input type=\"hidden\" id=\"enews-signup\" name=\"enews-signup\" value=\"1\">
\t\t\t\t\t{% if site_code is defined and site_code == constant(\"App\\\\Entity\\\\Content::SITE_RCS\") %}
\t\t\t\t\t\t<input type=\"hidden\" id=\"enews\" name=\"enews\" value=\"1\">
\t\t\t\t\t{% elseif site_code is defined and site_code == constant(\"App\\\\Entity\\\\Content::SITE_MCS\") %}
\t\t\t\t\t\t<input type=\"hidden\" id=\"metal-enews\" name=\"metal-enews\" value=\"1\">
\t\t\t\t\t{% elseif site_code is defined and site_code == constant(\"App\\\\Entity\\\\Content::SITE_CCS\") %}
\t\t\t\t\t\t<input type=\"hidden\" id=\"coatings-enews\" name=\"coatings-enews\" value=\"1\">
\t\t\t\t\t{% endif %}
\t\t\t\t\t
\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\"><span>First Name:<span style=\"color:red\"> *</span></span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\tplaceholder=\"Your First Name\"
\t\t\t\t\t\t\tname=\"lead[firstname]\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t\t
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"col-sm-6\">
\t\t\t\t\t<label class=\"btn-block\"><span>Last Name:<span style=\"color:red\"> *</span></span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\tplaceholder=\"Your Last Name\"
\t\t\t\t\t\t\tname=\"lead[lastname]\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t\t
\t\t\t\t\t<label class=\"btn-block\"><span>Email:<span style=\"color:red\"> *</span></span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\tplaceholder=\"Your Email Address\"
\t\t\t\t\t\t\tname=\"lead[email]\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t\t
\t\t\t\t\t<label class=\"btn-block\"><span>Company:<span style=\"color:red\"> *</span></span>
\t\t\t\t\t\t<input
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\tplaceholder=\"Your Company\"
\t\t\t\t\t\t\tname=\"lead[company]\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t</label>
\t\t\t\t\t
\t\t\t\t\t<label class=\"btn-block\"><span>Type of Work Performed:<span style=\"color:red\"> *</span></span>
\t\t\t\t\t\t<select
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\tname=\"lead[contractor_type]\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t>
\t\t\t\t\t\t<option value=\"Primarily Commercial\">Primarily Commercial</option>
\t\t\t\t\t\t<option value=\"Primarily Residential\">Primarily Residential</option>
\t\t\t\t\t\t<option value=\"Both\">Both</option>
\t\t\t\t\t\t<option value=\"Other\">Other</option>
\t\t\t\t\t\t</select>
\t\t\t\t\t</label>
\t\t\t\t\t
\t\t\t\t\t
\t\t\t\t\t<label class=\"btn-block\"><span>Country:<span style=\"color:red\"> *</span></span></label>
\t\t\t\t\t<label class=\"btn-block\">
\t\t\t\t\t\t<input
\t\t\t\t\t\t\ttype=\"radio\"
\t\t\t\t\t\t\tname=\"lead[country]\"
\t\t\t\t\t\t\tvalue=\"United States\"
\t\t\t\t\t\t\tchecked
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t\t<span>United States</span>
\t\t\t\t\t</label>
\t\t\t\t\t<label class=\"btn-block\">
\t\t\t\t\t\t<input
\t\t\t\t\t\t\ttype=\"radio\"
\t\t\t\t\t\t\tname=\"lead[country]\"
\t\t\t\t\t\t\tvalue=\"Canada\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t\t<span>Canada</span>
\t\t\t\t\t</label>
\t\t\t\t\t<label class=\"btn-block\">
\t\t\t\t\t\t<input
\t\t\t\t\t\t\ttype=\"radio\"
\t\t\t\t\t\t\tname=\"lead[country]\"
\t\t\t\t\t\t\tvalue=\"European Countries\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t\t<span>European Countries</span>
\t\t\t\t\t</label>
\t\t\t\t\t<label class=\"btn-block\">
\t\t\t\t\t\t<input
\t\t\t\t\t\t\ttype=\"radio\"
\t\t\t\t\t\t\tname=\"lead[country]\"
\t\t\t\t\t\t\tvalue=\"Other\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t/>
\t\t\t\t\t\t<span><input
\t\t\t\t\t\t\ttype=\"text\"
\t\t\t\t\t\t\tplaceholder=\"Other\"
\t\t\t\t\t\t\tname=\"lead[country_other]\"
\t\t\t\t\t\t/></span>
\t\t\t\t\t</label>
\t\t\t\t\t
\t\t\t\t\t
\t\t\t\t\t<label class=\"btn-block\"><span>Business Type:<span style=\"color:red\"> *</span></span>
\t\t\t\t\t\t<select
\t\t\t\t\t\t\tclass=\"form-control\"
\t\t\t\t\t\t\tname=\"lead[business_type]\"
\t\t\t\t\t\t\trequired
\t\t\t\t\t\t>
\t\t\t\t\t\t<option value=\"Roofing Contractor\">Roofing Contractor</option>
\t\t\t\t\t\t<option value=\"Exterior/General Contractor\">Exterior/General Contractor</option>
\t\t\t\t\t\t<option value=\"Distributor\">Distributor</option>
\t\t\t\t\t\t<option value=\"Manufacturer/Business Services\">Manufacturer/Business Services</option>
\t\t\t\t\t\t<option value=\"Other\">Other</option>
\t\t\t\t\t\t</select>
\t\t\t\t\t</label>
\t\t\t\t\t
\t\t\t\t\t{% if week_in == 'Roofing' %}
\t\t\t\t\t
\t\t\t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:20px;padding-left:25px;\">
\t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"metal-enews\" name=\"metal-enews\" checked>
\t\t\t\t\t\t\t<label class=\"form-check-label\" for=\"metal-enews\">
\t\t\t\t\t\t\t\t<span class=\"rtooltip\">Also sign up for Week In Metal? <i class=\"fa fa-info-circle\"></i>
\t\t\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
\t\t\t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the metal industry, week by week!
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:20px;padding-left:25px;\">
\t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"coatings-enews\" name=\"coatings-enews\" checked>
\t\t\t\t\t\t\t<label class=\"form-check-label\" for=\"coatings-enews\">
\t\t\t\t\t\t\t\t<span class=\"rtooltip\">Also sign up for Week In Coatings? <i class=\"fa fa-info-circle\"></i>
\t\t\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
\t\t\t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the coatings industry, week by week!
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t</div>
\t\t\t\t\t{% elseif week_in == 'Metal' %}
\t\t\t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:20px;padding-left:25px;\">
\t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"enews\" name=\"enews\" checked>
\t\t\t\t\t\t\t<label class=\"form-check-label\" for=\"enews\">
\t\t\t\t\t\t\t\t<span class=\"rtooltip\">Also sign up for Week In Roofing? <i class=\"fa fa-info-circle\"></i>
\t\t\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
\t\t\t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the roofing industry, week by week!
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:20px;padding-left:25px;\">
\t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"coatings-enews\" name=\"coatings-enews\" checked>
\t\t\t\t\t\t\t<label class=\"form-check-label\" for=\"coatings-enews\">
\t\t\t\t\t\t\t\t<span class=\"rtooltip\">Also sign up for Week In Coatings? <i class=\"fa fa-info-circle\"></i>
\t\t\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
\t\t\t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the coatings industry, week by week!
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t</div>
\t\t\t\t\t{% elseif week_in == 'Coatings' %}
\t\t\t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:20px;padding-left:25px;\">
\t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"enews\" name=\"enews\" checked>
\t\t\t\t\t\t\t<label class=\"form-check-label\" for=\"enews\">
\t\t\t\t\t\t\t\t<span class=\"rtooltip\">Also sign up for Week In Roofing? <i class=\"fa fa-info-circle\"></i>
\t\t\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
\t\t\t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the roofing industry, week by week!
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:20px;padding-left:25px;\">
\t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"metal-enews\" name=\"metal-enews\" checked>
\t\t\t\t\t\t\t<label class=\"form-check-label\" for=\"metal-enews\">
\t\t\t\t\t\t\t\t<span class=\"rtooltip\">Also sign up for Week In Metal? <i class=\"fa fa-info-circle\"></i>
\t\t\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
\t\t\t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the metal industry, week by week!
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</span>
\t\t\t\t\t\t\t</label>
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endif %}
\t\t\t\t\t
\t\t\t\t\t<div class=\"form-row g-recaptcha\" data-sitekey=\"6LeEIlMUAAAAAGhdmJJLdJHPxaWx2GqBjber5n6B\"></div>
\t\t\t\t\t
\t\t\t\t\t<div style=\"text-align: center;\">
\t\t\t\t\t<button
\t\t\t\t\t\ttype=\"submit\"
\t\t\t\t\t\tclass=\"btn btn-secondary mt-2\"
\t\t\t\t\t>Sign Up</button>
\t\t\t\t\t</div>
\t\t\t\t\t</form>
\t\t\t\t</div>
\t\t\t\t
\t\t\t\t<div class=\"col-3\">
\t\t\t\t\t<p><br>We send our “<strong>Week in {{week_in}}</strong>” directly to your inbox with interesting information, great photos and cool products. You can Opt-out at any time, but why would you want to? Remember, we respect your privacy and we will never sell your email address!</p>
\t\t\t\t\t{#<p><img class=\"alignnone size-full wp-image-12401\" src=\"https://rooferscoffeeshop.com/uploads/media/2016/05/week-in-review.jpg\" alt=\"RoofersCoffeeShop.com Week in Roofing\" loading='lazy'></p>#}
\t\t\t\t</div>
\t\t\t</div>
\t\t\t
\t\t\t{# Members section #}
\t\t\t<br><hr><br>
\t\t\t{% if app.user and app.user.isMember() %}
\t\t\t\t{# Already a member. Leave blank? #}
\t\t\t{% elseif site_code is defined and site_code == constant(\"App\\\\Entity\\\\Content::SITE_RCS\") %}
\t\t\t\t<center>
\t\t\t\t<a href=\"/rcs-club-sign-up\"><img src=\"https://www.rooferscoffeeshop.com/uploads/media/2019/04/rcs-r-club.png\" style=\"width:450px; align: center;\" loading='lazy' /></a>
\t\t\t\t<p>Want exclusive access?</p>
\t\t\t\t<p>Want to be a part of the most exclusive roofers club in the world? <a href=\"/rcs-club-sign-up\">Learn More</a></p>
\t\t\t\t</center>
\t\t\t\t<hr>
\t\t\t{% endif %}
\t\t
\t{% endif %}
\t
\t
\t<script>
\t\t window.onload = () => {
\t\t \t\$('body > div.top-wrap > div > div > div > div.col-12.col-md-9 > form').submit((e) => {
\t\t \t\tdocument.querySelector(\"body > div.top-wrap > div > div > div > div.col-12.col-md-9 > form > button\").disabled = true
\t\t \t});
\t\t };
\t\tfunction clickEnews() {
\t\t\tvar checkBox = document.getElementById(\"enews\");
\t\t\tvar enewsFields = document.getElementById(\"enews-fields\");
\t\t\tif (checkBox.checked == true){
\t\t\t\tenewsFields.style.display = \"block\";
\t\t\t\t\$(\".enews-field\").attr('required', true);
\t\t\t\t\$(\"#outer-company-div\").css(\"display\",\"none\");
\t\t\t\t\$(\"#company2\").val(\$(\"#company1\").val());
\t\t\t\t\$(\"#company1\").attr(\"name\",\"lead[company_inactive]\");
\t\t\t\t\$(\"#company2\").attr(\"name\",\"lead[company]\");
\t\t\t} else {
\t\t\t\tenewsFields.style.display = \"none\";
\t\t\t\t\$(\".enews-field\").attr('required', false);
\t\t\t\t\$(\"#outer-company-div\").css(\"display\",\"block\");
\t\t\t\t\$(\"#company1\").val(\$(\"#company2\").val());
\t\t\t\t\$(\"#company1\").attr(\"name\",\"lead[company]\");
\t\t\t\t\$(\"#company2\").attr(\"name\",\"lead[company_inactive]\");
\t\t\t}
\t\t}
\t</script>
{% endblock %}
{% endembed %}
{% endblock %}", "forms/new-sign-up.html.twig", "/var/www/vhosts/rooferscoffeeshop.com/staging.rooferscoffeeshop.com/rcs-website/templates/forms/new-sign-up.html.twig");
}
}