var/cache/dev/twig/28/28375757fc89261afef53d4522754738.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/designer_collab.html.twig */
  15. class __TwigTemplate_e83e3ca75227a9774a52260e5ad665f7 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/designer_collab.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/designer_collab.html.twig"));
  39.         $this->parent $this->loadTemplate("base.html.twig""ecom/designer_collab.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_contact");
  62.         yield "\">Contact Us</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_brand_collab");
  66.         yield "\">Brand 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\">Designer Collab</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_designercollab");
  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.             <select class=\"form-control form-select  rounded-pill shadow-none border mb-4 px-4\" name=\"topic\" id=\"topic\">
  111.               ";
  112.         // line 39
  113.         $context['_parent'] = $context;
  114.         $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); })()));
  115.         foreach ($context['_seq'] as $context["k"] => $context["topic"]) {
  116.             // line 40
  117.             yield "                <option value=\"";
  118.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["topic"], "html"nulltrue);
  119.             yield "\" >";
  120.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["topic"], "html"nulltrue);
  121.             yield "</option>
  122.               ";
  123.         }
  124.         $_parent $context['_parent'];
  125.         unset($context['_seq'], $context['_iterated'], $context['k'], $context['topic'], $context['_parent'], $context['loop']);
  126.         $context array_intersect_key($context$_parent) + $_parent;
  127.         // line 42
  128.         yield "            </select>
  129.             <label for=\"topic\" class=\"px-4\">Topic</label>
  130.           </div>
  131.           <div class=\"form-floating position-relative\">
  132.             <input type=\"text\" class=\"form-control rounded-pill shadow-none border mb-4 px-4\" placeholder=\"Subject\" name=\"subject\" id=\"subject\" required>
  133.             <label for=\"subject\" class=\"px-4\">Subject</label>
  134.           </div>
  135.           <div class=\"form-floating position-relative\">
  136.             <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>
  137.             <label for=\"description\" class=\"px-4\">More Information</label>
  138.           </div>
  139.           <input type=\"hidden\" name=\"form_token\" value=\"";
  140.         // line 53
  141.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("contact_form"), "html"nulltrue);
  142.         yield "\" />
  143.           <button class=\"btn bg-secondary text-white px-4 py-3 w-100 rounded-pill mb-4\">Send</button>
  144.           ";
  145.         // line 55
  146.         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.'55$this->source); })()), "session", [], "any"falsefalsefalse55), "flashBag", [], "any"falsefalsefalse55), "has", ["success"], "method"falsefalsefalse55)) {
  147.             // line 56
  148.             yield "            <div class=\"mt-4 p-4 bg-light rounded-5 border-top border-5 border-secondary\">
  149.               <h6 class=\"fw-bold\">Thank you for reaching out!</h6>
  150.               ";
  151.             // line 58
  152.             $context['_parent'] = $context;
  153.             $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.'58$this->source); })()), "session", [], "any"falsefalsefalse58), "flashBag", [], "any"falsefalsefalse58), "get", ["success"], "method"falsefalsefalse58));
  154.             foreach ($context['_seq'] as $context["_key"] => $context["msg"]) {
  155.                 // line 59
  156.                 yield "              <p>";
  157.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["msg"], "html"nulltrue);
  158.                 yield "</p>
  159.               ";
  160.             }
  161.             $_parent $context['_parent'];
  162.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['msg'], $context['_parent'], $context['loop']);
  163.             $context array_intersect_key($context$_parent) + $_parent;
  164.             // line 60
  165.             yield 
  166.             </div>
  167.           ";
  168.         }
  169.         // line 63
  170.         yield "        </form>
  171.       </div>
  172. \t  </div>
  173. \t</div>
  174. ";
  175.         
  176.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  177.         
  178.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  179.         return; yield '';
  180.     }
  181.     /**
  182.      * @codeCoverageIgnore
  183.      */
  184.     public function getTemplateName()
  185.     {
  186.         return "ecom/designer_collab.html.twig";
  187.     }
  188.     /**
  189.      * @codeCoverageIgnore
  190.      */
  191.     public function isTraitable()
  192.     {
  193.         return false;
  194.     }
  195.     /**
  196.      * @codeCoverageIgnore
  197.      */
  198.     public function getDebugInfo()
  199.     {
  200.         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,);
  201.     }
  202.     public function getSourceContext()
  203.     {
  204.         return new Source("{% extends 'base.html.twig' %}
  205. {% block body %}
  206.   <div class=\"container-fluid main-holder px-5  border-bottom\">
  207.     <div class=\"row\">
  208.       <div class=\"col-lg-12 pb-2\">
  209.         <ul class=\"list-unstyled list-inline\">
  210.           <li class=\"list-inline-item me-4\"><a href=\"{{ path('sajong_ecom_contact') }}\">Contact Us</a></li>
  211.           <li class=\"list-inline-item\"><a href=\"{{ path('sajong_ecom_brand_collab') }}\">Brand Collab</a></li>
  212.         </ul>
  213.       </div>
  214.     </div>
  215.   </div>
  216. \t<div class=\"container-fluid\">\t 
  217. \t  <div class=\"row mb-5\">
  218.       <div class=\"col-lg-7 offset-lg-2 mb-5 mt-5\">
  219.         <h1 class=\"fw-bolder\">Designer Collab</h1>
  220. \t\t  </div>
  221. \t\t  <div class=\"clearfix\"></div>
  222. \t\t  <div class=\"col-lg-7 offset-lg-2\">
  223.         <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>
  224. \t\t\t  <p>Phone: <strong>{{ ecomvariables.textcontent('site_contact_number')|raw()\t}}</strong></p>
  225. \t\t\t  <p>Customer Service (order-related): <strong>{{ ecomvariables.textcontent('customer_contact_number')|raw()\t}}</strong></p>
  226. \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>
  227. \t\t\t  <form class=\"mt-5\" method=\"POST\" action=\"{{ path('sajong_ecom_save_designercollab') }}\"  id=\"contact-us-form\">          
  228. \t\t\t\t  <div class=\"form-floating mb-3 position-relative\">
  229.             <input type=\"text\" class=\"form-control rounded-pill shadow-none border mb-4 px-4\" placeholder=\"Your Name\" name=\"name\" id=\"name\" required>
  230.             <label for=\"name\" class=\"px-4\">Your Name</label>
  231.           </div>
  232.           <div class=\"form-floating mb-3 position-relative\">
  233.             <input type=\"email\" class=\"form-control rounded-pill shadow-none border mb-4 px-4\" placeholder=\"name@example.com\" name=\"email\" id=\"email\" required>
  234.             <label for=\"email\" class=\"px-4\">Email address</label>
  235.           </div>
  236.           <div class=\"form-floating position-relative\">
  237.             <input type=\"text\" class=\"form-control rounded-pill shadow-none border mb-4 px-4\" placeholder=\"Phone Number\" name=\"phone\" id=\"phone\" required>
  238.             <label for=\"phone\" class=\"px-4\">Phone Number</label>
  239.           </div>
  240.           <div class=\"form-floating position-relative\">
  241.             <select class=\"form-control form-select  rounded-pill shadow-none border mb-4 px-4\" name=\"topic\" id=\"topic\">
  242.               {% for k, topic in topics %}
  243.                 <option value=\"{{topic}}\" >{{topic}}</option>
  244.               {% endfor %}
  245.             </select>
  246.             <label for=\"topic\" class=\"px-4\">Topic</label>
  247.           </div>
  248.           <div class=\"form-floating position-relative\">
  249.             <input type=\"text\" class=\"form-control rounded-pill shadow-none border mb-4 px-4\" placeholder=\"Subject\" name=\"subject\" id=\"subject\" required>
  250.             <label for=\"subject\" class=\"px-4\">Subject</label>
  251.           </div>
  252.           <div class=\"form-floating position-relative\">
  253.             <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>
  254.             <label for=\"description\" class=\"px-4\">More Information</label>
  255.           </div>
  256.           <input type=\"hidden\" name=\"form_token\" value=\"{{ csrf_token('contact_form') }}\" />
  257.           <button class=\"btn bg-secondary text-white px-4 py-3 w-100 rounded-pill mb-4\">Send</button>
  258.           {% if app.session.flashBag.has('success') %}
  259.             <div class=\"mt-4 p-4 bg-light rounded-5 border-top border-5 border-secondary\">
  260.               <h6 class=\"fw-bold\">Thank you for reaching out!</h6>
  261.               {% for msg in app.session.flashBag.get('success') %}
  262.               <p>{{ msg }}</p>
  263.               {% endfor %} 
  264.             </div>
  265.           {% endif %}
  266.         </form>
  267.       </div>
  268. \t  </div>
  269. \t</div>
  270. {% endblock %}""ecom/designer_collab.html.twig""/var/www/commerce8/noble_natives/templates/ecom/designer_collab.html.twig");
  271.     }
  272. }