var/cache/dev/twig/eb/ebfc25127de28df748048533a9d2a284.php line 39

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* ecom/contact.html.twig */
  15. class __TwigTemplate_17a53750f7c332c3dd10931fa985458d extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->blocks = [
  24.             'body' => [$this'block_body'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "base.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ecom/contact.html.twig"));
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ecom/contact.html.twig"));
  39.         $this->parent $this->loadTemplate("base.html.twig""ecom/contact.html.twig"1);
  40.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  41.         
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  43.         
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  45.     }
  46.     // line 2
  47.     public function block_body($context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  54.         // line 3
  55.         yield "  <div class=\"container-fluid main-holder px-5  border-bottom\">
  56.     <div class=\"row\">
  57.       <div class=\"col-lg-12 pb-2\">
  58.         <ul class=\"list-unstyled list-inline\">
  59.           <li class=\"list-inline-item me-4\"><a href=\"";
  60.         // line 7
  61.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sajong_ecom_brand_collab");
  62.         yield "\">Brand Collab</a></li>
  63.           <li class=\"list-inline-item\"><a href=\"";
  64.         // line 8
  65.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sajong_ecom_designer_collab");
  66.         yield "\">Designer Collab</a></li>
  67.         </ul>
  68.       </div>
  69.     </div>
  70.   </div>
  71. \t<div class=\"container-fluid\">\t 
  72. \t  <div class=\"row mb-5\">
  73.       <div class=\"col-lg-7 offset-lg-2 mb-5 mt-5\">
  74.         <h1 class=\"fw-bolder\">Contact</h1>
  75. \t\t  </div>
  76. \t\t  <div class=\"clearfix\"></div>
  77. \t\t  <div class=\"col-lg-7 offset-lg-2\">
  78.         <p>No question is too small or too big. For any inquiries, please feel free to contact us via email at <a href=\"mailto:";
  79.         // line 20
  80.         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"falsefalsefalse20);
  81.         yield "\" class=\"fw-bold\">";
  82.         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"falsefalsefalse20);
  83.         yield "</a>, or you can reach us by phone at the following numbers:</p>
  84. \t\t\t  <p>Phone: <strong>";
  85.         // line 21
  86.         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"falsefalsefalse21);
  87.         yield "</strong></p>
  88. \t\t\t  <p>Customer Service (order-related): <strong>";
  89.         // line 22
  90.         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"falsefalsefalse22);
  91.         yield "</strong></p>
  92. \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>
  93. \t\t\t  <form class=\"mt-5\" method=\"POST\" action=\"";
  94.         // line 24
  95.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sajong_ecom_save_contact");
  96.         yield "\"  id=\"contact-us-form\">          
  97. \t\t\t\t  <div class=\"form-floating mb-3 position-relative\">
  98.             <input type=\"text\" class=\"form-control rounded-pill shadow-none border mb-4 px-4\" placeholder=\"Your Name\" name=\"name\" id=\"name\" required>
  99.             <label for=\"name\" class=\"px-4\">Your Name</label>
  100.           </div>
  101.           <div class=\"form-floating mb-3 position-relative\">
  102.             <input type=\"email\" class=\"form-control rounded-pill shadow-none border mb-4 px-4\" placeholder=\"name@example.com\" name=\"email\" id=\"email\" required>
  103.             <label for=\"email\" class=\"px-4\">Email address</label>
  104.           </div>
  105.           <div class=\"form-floating position-relative\">
  106.             <input type=\"text\" class=\"form-control rounded-pill shadow-none border mb-4 px-4\" placeholder=\"Phone Number\" name=\"phone\" id=\"phone\" required>
  107.             <label for=\"phone\" class=\"px-4\">Phone Number</label>
  108.           </div>
  109.           <div class=\"form-floating position-relative\">
  110.             <input type=\"text\" class=\"form-control rounded-pill shadow-none border mb-4 px-4\" placeholder=\"Subject\" name=\"subject\" id=\"subject\" required>
  111.             <label for=\"subject\" class=\"px-4\">Subject</label>
  112.           </div>
  113.           <div class=\"form-floating position-relative\">
  114.             <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>
  115.             <label for=\"description\" class=\"px-4\">Comments</label>
  116.           </div>
  117.           <input type=\"hidden\" name=\"form_token\" value=\"";
  118.         // line 45
  119.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("contact_form"), "html"nulltrue);
  120.         yield "\" />
  121.           <button class=\"btn bg-secondary text-white px-4 py-3 w-100 rounded-pill mb-4\">Send</button>
  122.           ";
  123.         // line 47
  124.         if (CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'47$this->source); })()), "session", [], "any"falsefalsefalse47), "flashBag", [], "any"falsefalsefalse47), "has", ["success"], "method"falsefalsefalse47)) {
  125.             // line 48
  126.             yield "            <div class=\"mt-4 p-4 bg-light rounded-5 border-top border-5 border-secondary\">
  127.               <h6 class=\"fw-bold\">Thank you for reaching out!</h6>
  128.               ";
  129.             // line 50
  130.             $context['_parent'] = $context;
  131.             $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'50$this->source); })()), "session", [], "any"falsefalsefalse50), "flashBag", [], "any"falsefalsefalse50), "get", ["success"], "method"falsefalsefalse50));
  132.             foreach ($context['_seq'] as $context["_key"] => $context["msg"]) {
  133.                 // line 51
  134.                 yield "              <p>";
  135.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["msg"], "html"nulltrue);
  136.                 yield "</p>
  137.               ";
  138.             }
  139.             $_parent $context['_parent'];
  140.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['msg'], $context['_parent'], $context['loop']);
  141.             $context array_intersect_key($context$_parent) + $_parent;
  142.             // line 52
  143.             yield 
  144.             </div>
  145.           ";
  146.         }
  147.         // line 55
  148.         yield "        </form>
  149.       </div>
  150. \t  </div>
  151. \t</div>
  152. ";
  153.         
  154.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  155.         
  156.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  157.         return; yield '';
  158.     }
  159.     /**
  160.      * @codeCoverageIgnore
  161.      */
  162.     public function getTemplateName()
  163.     {
  164.         return "ecom/contact.html.twig";
  165.     }
  166.     /**
  167.      * @codeCoverageIgnore
  168.      */
  169.     public function isTraitable()
  170.     {
  171.         return false;
  172.     }
  173.     /**
  174.      * @codeCoverageIgnore
  175.      */
  176.     public function getDebugInfo()
  177.     {
  178.         return array (  162 => 55,  157 => 52,  148 => 51,  144 => 50,  140 => 48,  138 => 47,  133 => 45,  109 => 24,  104 => 22,  100 => 21,  94 => 20,  79 => 8,  75 => 7,  69 => 3,  59 => 2,  36 => 1,);
  179.     }
  180.     public function getSourceContext()
  181.     {
  182.         return new Source("{% extends 'base.html.twig' %}
  183. {% block body %}
  184.   <div class=\"container-fluid main-holder px-5  border-bottom\">
  185.     <div class=\"row\">
  186.       <div class=\"col-lg-12 pb-2\">
  187.         <ul class=\"list-unstyled list-inline\">
  188.           <li class=\"list-inline-item me-4\"><a href=\"{{ path('sajong_ecom_brand_collab') }}\">Brand Collab</a></li>
  189.           <li class=\"list-inline-item\"><a href=\"{{ path('sajong_ecom_designer_collab') }}\">Designer Collab</a></li>
  190.         </ul>
  191.       </div>
  192.     </div>
  193.   </div>
  194. \t<div class=\"container-fluid\">\t 
  195. \t  <div class=\"row mb-5\">
  196.       <div class=\"col-lg-7 offset-lg-2 mb-5 mt-5\">
  197.         <h1 class=\"fw-bolder\">Contact</h1>
  198. \t\t  </div>
  199. \t\t  <div class=\"clearfix\"></div>
  200. \t\t  <div class=\"col-lg-7 offset-lg-2\">
  201.         <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>
  202. \t\t\t  <p>Phone: <strong>{{ ecomvariables.textcontent('site_contact_number')|raw()\t}}</strong></p>
  203. \t\t\t  <p>Customer Service (order-related): <strong>{{ ecomvariables.textcontent('customer_contact_number')|raw()\t}}</strong></p>
  204. \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>
  205. \t\t\t  <form class=\"mt-5\" method=\"POST\" action=\"{{ path('sajong_ecom_save_contact') }}\"  id=\"contact-us-form\">          
  206. \t\t\t\t  <div class=\"form-floating mb-3 position-relative\">
  207.             <input type=\"text\" class=\"form-control rounded-pill shadow-none border mb-4 px-4\" placeholder=\"Your Name\" name=\"name\" id=\"name\" required>
  208.             <label for=\"name\" class=\"px-4\">Your Name</label>
  209.           </div>
  210.           <div class=\"form-floating mb-3 position-relative\">
  211.             <input type=\"email\" class=\"form-control rounded-pill shadow-none border mb-4 px-4\" placeholder=\"name@example.com\" name=\"email\" id=\"email\" required>
  212.             <label for=\"email\" class=\"px-4\">Email address</label>
  213.           </div>
  214.           <div class=\"form-floating position-relative\">
  215.             <input type=\"text\" class=\"form-control rounded-pill shadow-none border mb-4 px-4\" placeholder=\"Phone Number\" name=\"phone\" id=\"phone\" required>
  216.             <label for=\"phone\" class=\"px-4\">Phone Number</label>
  217.           </div>
  218.           <div class=\"form-floating position-relative\">
  219.             <input type=\"text\" class=\"form-control rounded-pill shadow-none border mb-4 px-4\" placeholder=\"Subject\" name=\"subject\" id=\"subject\" required>
  220.             <label for=\"subject\" class=\"px-4\">Subject</label>
  221.           </div>
  222.           <div class=\"form-floating position-relative\">
  223.             <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>
  224.             <label for=\"description\" class=\"px-4\">Comments</label>
  225.           </div>
  226.           <input type=\"hidden\" name=\"form_token\" value=\"{{ csrf_token('contact_form') }}\" />
  227.           <button class=\"btn bg-secondary text-white px-4 py-3 w-100 rounded-pill mb-4\">Send</button>
  228.           {% if app.session.flashBag.has('success') %}
  229.             <div class=\"mt-4 p-4 bg-light rounded-5 border-top border-5 border-secondary\">
  230.               <h6 class=\"fw-bold\">Thank you for reaching out!</h6>
  231.               {% for msg in app.session.flashBag.get('success') %}
  232.               <p>{{ msg }}</p>
  233.               {% endfor %} 
  234.             </div>
  235.           {% endif %}
  236.         </form>
  237.       </div>
  238. \t  </div>
  239. \t</div>
  240. {% endblock %}""ecom/contact.html.twig""/var/www/commerce8/noble_natives/templates/ecom/contact.html.twig");
  241.     }
  242. }