<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
/* ecom/designer_collab.html.twig */
class __TwigTemplate_e83e3ca75227a9774a52260e5ad665f7 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", "ecom/designer_collab.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "ecom/designer_collab.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "ecom/designer_collab.html.twig", 1);
yield from $this->parent->unwrap()->yield($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
yield " <div class=\"container-fluid main-holder px-5 border-bottom\">
<div class=\"row\">
<div class=\"col-lg-12 pb-2\">
<ul class=\"list-unstyled list-inline\">
<li class=\"list-inline-item me-4\"><a href=\"";
// line 7
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sajong_ecom_contact");
yield "\">Contact Us</a></li>
<li class=\"list-inline-item\"><a href=\"";
// line 8
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sajong_ecom_brand_collab");
yield "\">Brand Collab</a></li>
</ul>
</div>
</div>
</div>
\t<div class=\"container-fluid\">\t
\t <div class=\"row mb-5\">
<div class=\"col-lg-7 offset-lg-2 mb-5 mt-5\">
<h1 class=\"fw-bolder\">Designer Collab</h1>
\t\t </div>
\t\t <div class=\"clearfix\"></div>
\t\t <div class=\"col-lg-7 offset-lg-2\">
<p>No question is too small or too big. For any inquiries, please feel free to contact us via email at <a href=\"mailto:";
// line 20
yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["ecomvariables"]) || array_key_exists("ecomvariables", $context) ? $context["ecomvariables"] : (function () { throw new RuntimeError('Variable "ecomvariables" does not exist.', 20, $this->source); })()), "textcontent", ["customer_contact_email", "customerservice@noblenative.com"], "method", false, false, false, 20);
yield "\" class=\"fw-bold\">";
yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["ecomvariables"]) || array_key_exists("ecomvariables", $context) ? $context["ecomvariables"] : (function () { throw new RuntimeError('Variable "ecomvariables" does not exist.', 20, $this->source); })()), "textcontent", ["customer_contact_email"], "method", false, false, false, 20);
yield "</a>, or you can reach us by phone at the following numbers:</p>
\t\t\t <p>Phone: <strong>";
// line 21
yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["ecomvariables"]) || array_key_exists("ecomvariables", $context) ? $context["ecomvariables"] : (function () { throw new RuntimeError('Variable "ecomvariables" does not exist.', 21, $this->source); })()), "textcontent", ["site_contact_number"], "method", false, false, false, 21);
yield "</strong></p>
\t\t\t <p>Customer Service (order-related): <strong>";
// line 22
yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["ecomvariables"]) || array_key_exists("ecomvariables", $context) ? $context["ecomvariables"] : (function () { throw new RuntimeError('Variable "ecomvariables" does not exist.', 22, $this->source); })()), "textcontent", ["customer_contact_number"], "method", false, false, false, 22);
yield "</strong></p>
\t\t\t <p>Alternatively, you can also use the form below to get in touch with us. We're here to assist you and provide the support you need.</p>
\t\t\t <form class=\"mt-5\" method=\"POST\" action=\"";
// line 24
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sajong_ecom_save_designercollab");
yield "\" id=\"contact-us-form\">
\t\t\t\t <div class=\"form-floating mb-3 position-relative\">
<input type=\"text\" class=\"form-control rounded-pill shadow-none border mb-4 px-4\" placeholder=\"Your Name\" name=\"name\" id=\"name\" required>
<label for=\"name\" class=\"px-4\">Your Name</label>
</div>
<div class=\"form-floating mb-3 position-relative\">
<input type=\"email\" class=\"form-control rounded-pill shadow-none border mb-4 px-4\" placeholder=\"name@example.com\" name=\"email\" id=\"email\" required>
<label for=\"email\" class=\"px-4\">Email address</label>
</div>
<div class=\"form-floating position-relative\">
<input type=\"text\" class=\"form-control rounded-pill shadow-none border mb-4 px-4\" placeholder=\"Phone Number\" name=\"phone\" id=\"phone\" required>
<label for=\"phone\" class=\"px-4\">Phone Number</label>
</div>
<div class=\"form-floating position-relative\">
<select class=\"form-control form-select rounded-pill shadow-none border mb-4 px-4\" name=\"topic\" id=\"topic\">
";
// line 39
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["topics"]) || array_key_exists("topics", $context) ? $context["topics"] : (function () { throw new RuntimeError('Variable "topics" does not exist.', 39, $this->source); })()));
foreach ($context['_seq'] as $context["k"] => $context["topic"]) {
// line 40
yield " <option value=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["topic"], "html", null, true);
yield "\" >";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["topic"], "html", null, true);
yield "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['k'], $context['topic'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 42
yield " </select>
<label for=\"topic\" class=\"px-4\">Topic</label>
</div>
<div class=\"form-floating position-relative\">
<input type=\"text\" class=\"form-control rounded-pill shadow-none border mb-4 px-4\" placeholder=\"Subject\" name=\"subject\" id=\"subject\" required>
<label for=\"subject\" class=\"px-4\">Subject</label>
</div>
<div class=\"form-floating position-relative\">
<textarea class=\"form-control rounded-pill shadow-none border mb-4 px-4\" placeholder=\"Leave a comment here\" style=\"height: 100px\" name=\"description\" id=\"description\"></textarea>
<label for=\"description\" class=\"px-4\">More Information</label>
</div>
<input type=\"hidden\" name=\"form_token\" value=\"";
// line 53
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("contact_form"), "html", null, true);
yield "\" />
<button class=\"btn bg-secondary text-white px-4 py-3 w-100 rounded-pill mb-4\">Send</button>
";
// line 55
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 55, $this->source); })()), "session", [], "any", false, false, false, 55), "flashBag", [], "any", false, false, false, 55), "has", ["success"], "method", false, false, false, 55)) {
// line 56
yield " <div class=\"mt-4 p-4 bg-light rounded-5 border-top border-5 border-secondary\">
<h6 class=\"fw-bold\">Thank you for reaching out!</h6>
";
// line 58
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 58, $this->source); })()), "session", [], "any", false, false, false, 58), "flashBag", [], "any", false, false, false, 58), "get", ["success"], "method", false, false, false, 58));
foreach ($context['_seq'] as $context["_key"] => $context["msg"]) {
// line 59
yield " <p>";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["msg"], "html", null, true);
yield "</p>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['msg'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 60
yield "
</div>
";
}
// line 63
yield " </form>
</div>
\t </div>
\t</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "ecom/designer_collab.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 184 => 63, 179 => 60, 170 => 59, 166 => 58, 162 => 56, 160 => 55, 155 => 53, 142 => 42, 131 => 40, 127 => 39, 109 => 24, 104 => 22, 100 => 21, 94 => 20, 79 => 8, 75 => 7, 69 => 3, 59 => 2, 36 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'base.html.twig' %}
{% block body %}
<div class=\"container-fluid main-holder px-5 border-bottom\">
<div class=\"row\">
<div class=\"col-lg-12 pb-2\">
<ul class=\"list-unstyled list-inline\">
<li class=\"list-inline-item me-4\"><a href=\"{{ path('sajong_ecom_contact') }}\">Contact Us</a></li>
<li class=\"list-inline-item\"><a href=\"{{ path('sajong_ecom_brand_collab') }}\">Brand Collab</a></li>
</ul>
</div>
</div>
</div>
\t<div class=\"container-fluid\">\t
\t <div class=\"row mb-5\">
<div class=\"col-lg-7 offset-lg-2 mb-5 mt-5\">
<h1 class=\"fw-bolder\">Designer Collab</h1>
\t\t </div>
\t\t <div class=\"clearfix\"></div>
\t\t <div class=\"col-lg-7 offset-lg-2\">
<p>No question is too small or too big. For any inquiries, please feel free to contact us via email at <a href=\"mailto:{{ ecomvariables.textcontent('customer_contact_email', 'customerservice@noblenative.com')|raw }}\" class=\"fw-bold\">{{ ecomvariables.textcontent('customer_contact_email')|raw()\t}}</a>, or you can reach us by phone at the following numbers:</p>
\t\t\t <p>Phone: <strong>{{ ecomvariables.textcontent('site_contact_number')|raw()\t}}</strong></p>
\t\t\t <p>Customer Service (order-related): <strong>{{ ecomvariables.textcontent('customer_contact_number')|raw()\t}}</strong></p>
\t\t\t <p>Alternatively, you can also use the form below to get in touch with us. We're here to assist you and provide the support you need.</p>
\t\t\t <form class=\"mt-5\" method=\"POST\" action=\"{{ path('sajong_ecom_save_designercollab') }}\" id=\"contact-us-form\">
\t\t\t\t <div class=\"form-floating mb-3 position-relative\">
<input type=\"text\" class=\"form-control rounded-pill shadow-none border mb-4 px-4\" placeholder=\"Your Name\" name=\"name\" id=\"name\" required>
<label for=\"name\" class=\"px-4\">Your Name</label>
</div>
<div class=\"form-floating mb-3 position-relative\">
<input type=\"email\" class=\"form-control rounded-pill shadow-none border mb-4 px-4\" placeholder=\"name@example.com\" name=\"email\" id=\"email\" required>
<label for=\"email\" class=\"px-4\">Email address</label>
</div>
<div class=\"form-floating position-relative\">
<input type=\"text\" class=\"form-control rounded-pill shadow-none border mb-4 px-4\" placeholder=\"Phone Number\" name=\"phone\" id=\"phone\" required>
<label for=\"phone\" class=\"px-4\">Phone Number</label>
</div>
<div class=\"form-floating position-relative\">
<select class=\"form-control form-select rounded-pill shadow-none border mb-4 px-4\" name=\"topic\" id=\"topic\">
{% for k, topic in topics %}
<option value=\"{{topic}}\" >{{topic}}</option>
{% endfor %}
</select>
<label for=\"topic\" class=\"px-4\">Topic</label>
</div>
<div class=\"form-floating position-relative\">
<input type=\"text\" class=\"form-control rounded-pill shadow-none border mb-4 px-4\" placeholder=\"Subject\" name=\"subject\" id=\"subject\" required>
<label for=\"subject\" class=\"px-4\">Subject</label>
</div>
<div class=\"form-floating position-relative\">
<textarea class=\"form-control rounded-pill shadow-none border mb-4 px-4\" placeholder=\"Leave a comment here\" style=\"height: 100px\" name=\"description\" id=\"description\"></textarea>
<label for=\"description\" class=\"px-4\">More Information</label>
</div>
<input type=\"hidden\" name=\"form_token\" value=\"{{ csrf_token('contact_form') }}\" />
<button class=\"btn bg-secondary text-white px-4 py-3 w-100 rounded-pill mb-4\">Send</button>
{% if app.session.flashBag.has('success') %}
<div class=\"mt-4 p-4 bg-light rounded-5 border-top border-5 border-secondary\">
<h6 class=\"fw-bold\">Thank you for reaching out!</h6>
{% for msg in app.session.flashBag.get('success') %}
<p>{{ msg }}</p>
{% endfor %}
</div>
{% endif %}
</form>
</div>
\t </div>
\t</div>
{% endblock %}", "ecom/designer_collab.html.twig", "/var/www/commerce8/noble_natives/templates/ecom/designer_collab.html.twig");
}
}