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