var/cache/dev/twig/38/38f7eddb42f2c239958785fd062475b4ab534537d0f647716c45d62e07ed23f8.php line 40

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* beautytada/page.recommend-a-salon.twig */
  14. class __TwigTemplate_a6e7ca02bd71587c1c72fb41b006f229b2c27a2446c2aaea7c65e143f4a29f58 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'stylesheets' => [$this'block_stylesheets'],
  24.             'javascripts' => [$this'block_javascripts'],
  25.             'content' => [$this'block_content'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "beautytada/layout.postcode.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""beautytada/page.recommend-a-salon.twig"));
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""beautytada/page.recommend-a-salon.twig"));
  40.         $this->parent $this->loadTemplate("beautytada/layout.postcode.twig""beautytada/page.recommend-a-salon.twig"1);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  44.         
  45.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  46.     }
  47.     // line 3
  48.     public function block_stylesheets($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  55.         // line 4
  56.         echo "    ";
  57.         $this->displayParentBlock("stylesheets"$context$blocks);
  58.         echo "
  59.     ";
  60.         // line 5
  61.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("recommend-a-salon");
  62.         echo "
  63. ";
  64.         
  65.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  66.         
  67.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  68.     }
  69.     // line 8
  70.     public function block_javascripts($context, array $blocks = [])
  71.     {
  72.         $macros $this->macros;
  73.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  74.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  75.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  76.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  77.         // line 9
  78.         echo "    ";
  79.         $this->displayParentBlock("javascripts"$context$blocks);
  80.         echo "
  81.     ";
  82.         // line 10
  83.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("recommend-a-salon");
  84.         echo "
  85. ";
  86.         
  87.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  88.         
  89.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  90.     }
  91.     // line 13
  92.     public function block_content($context, array $blocks = [])
  93.     {
  94.         $macros $this->macros;
  95.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  96.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  97.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  98.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  99.         // line 14
  100.         echo "    <script>
  101.         TRANS['contactFormTitle'] = '";
  102.         // line 15
  103.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Recommend a Salon", [], "messages");
  104.         echo "'
  105.         TRANS['object'] = '";
  106.         // line 16
  107.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Salon", [], "messages");
  108.         echo "'
  109.         TRANS['successMessage'] = '";
  110.         // line 17
  111.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Thank you for recommendation, we will contact your recommended salon soon", [], "messages");
  112.         echo "'
  113.         WINDOW_CONFIG['apiSearchStoreByPostcode'] = \"";
  114.         // line 19
  115.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("api_v1_search_stores_by_postcode");
  116.         echo "\"
  117.         WINDOW_CONFIG['recommendRestaurantRegisterApi'] = '";
  118.         // line 20
  119.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("api_v1_register_salon_register");
  120.         echo "'
  121.         WINDOW_CONFIG['recommendRestaurantRegisterToken'] = '";
  122.         // line 21
  123.         echo twig_escape_filter($this->env$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("register-salon"), "html"nulltrue);
  124.         echo "'
  125.         WINDOW_CONFIG['siteKey'] = '";
  126.         // line 22
  127.         echo twig_escape_filter($this->env$this->extensions['Kobizo\Component\Template\TwigExtensions\GoogleServiceProviderExtension']->getRecaptchaPublicKey(), "html"nulltrue);
  128.         echo "'
  129.     </script>
  130.     <div id=\"recommend-a-salon\">
  131.         <recommend-form inline-template @submit=\"register\" :processing=\"processing\" ref=\"recommendForm\">
  132.             ";
  133.         // line 27
  134.         $this->loadTemplate("beautytada/page.recommend-a-salon.twig""beautytada/page.recommend-a-salon.twig"27"620611939")->display($context);
  135.         // line 30
  136.         echo "        </recommend-form>
  137.     </div>
  138. ";
  139.         
  140.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  141.         
  142.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  143.     }
  144.     public function getTemplateName()
  145.     {
  146.         return "beautytada/page.recommend-a-salon.twig";
  147.     }
  148.     public function isTraitable()
  149.     {
  150.         return false;
  151.     }
  152.     public function getDebugInfo()
  153.     {
  154.         return array (  162 => 30,  160 => 27,  152 => 22,  148 => 21,  144 => 20,  140 => 19,  135 => 17,  131 => 16,  127 => 15,  124 => 14,  114 => 13,  102 => 10,  97 => 9,  87 => 8,  75 => 5,  70 => 4,  60 => 3,  37 => 1,);
  155.     }
  156.     public function getSourceContext()
  157.     {
  158.         return new Source("{% extends 'beautytada/layout.postcode.twig' %}
  159. {% block stylesheets %}
  160.     {{ parent() }}
  161.     {{ encore_entry_link_tags('recommend-a-salon') }}
  162. {% endblock %}
  163. {% block javascripts %}
  164.     {{ parent() }}
  165.     {{ encore_entry_script_tags('recommend-a-salon') }}
  166. {% endblock %}
  167. {% block content %}
  168.     <script>
  169.         TRANS['contactFormTitle'] = '{% trans %}Recommend a Salon{% endtrans %}'
  170.         TRANS['object'] = '{% trans %}Salon{% endtrans %}'
  171.         TRANS['successMessage'] = '{% trans %}Thank you for recommendation, we will contact your recommended salon soon{% endtrans %}'
  172.         WINDOW_CONFIG['apiSearchStoreByPostcode'] = \"{{ path('api_v1_search_stores_by_postcode') }}\"
  173.         WINDOW_CONFIG['recommendRestaurantRegisterApi'] = '{{ path('api_v1_register_salon_register') }}'
  174.         WINDOW_CONFIG['recommendRestaurantRegisterToken'] = '{{ csrf_token('register-salon') }}'
  175.         WINDOW_CONFIG['siteKey'] = '{{ k_captcha_public_key() }}'
  176.     </script>
  177.     <div id=\"recommend-a-salon\">
  178.         <recommend-form inline-template @submit=\"register\" :processing=\"processing\" ref=\"recommendForm\">
  179.             {% embed \"beautytada/component/recommend-form.twig\" %}
  180.                 {% block objectFieldLabel %}{% trans %}Salon name{% endtrans %}{% endblock %}
  181.             {% endembed %}
  182.         </recommend-form>
  183.     </div>
  184. {% endblock %}
  185. ""beautytada/page.recommend-a-salon.twig""/home/btdcom/www/testing-kob26688.beautytada.com/templates/beautytada/page.recommend-a-salon.twig");
  186.     }
  187. }
  188. /* beautytada/page.recommend-a-salon.twig */
  189. class __TwigTemplate_a6e7ca02bd71587c1c72fb41b006f229b2c27a2446c2aaea7c65e143f4a29f58___620611939 extends Template
  190. {
  191.     private $source;
  192.     private $macros = [];
  193.     public function __construct(Environment $env)
  194.     {
  195.         parent::__construct($env);
  196.         $this->source $this->getSourceContext();
  197.         $this->blocks = [
  198.             'objectFieldLabel' => [$this'block_objectFieldLabel'],
  199.         ];
  200.     }
  201.     protected function doGetParent(array $context)
  202.     {
  203.         // line 27
  204.         return "beautytada/component/recommend-form.twig";
  205.     }
  206.     protected function doDisplay(array $context, array $blocks = [])
  207.     {
  208.         $macros $this->macros;
  209.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  210.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""beautytada/page.recommend-a-salon.twig"));
  211.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  212.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""beautytada/page.recommend-a-salon.twig"));
  213.         $this->parent $this->loadTemplate("beautytada/component/recommend-form.twig""beautytada/page.recommend-a-salon.twig"27);
  214.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  215.         
  216.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  217.         
  218.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  219.     }
  220.     // line 28
  221.     public function block_objectFieldLabel($context, array $blocks = [])
  222.     {
  223.         $macros $this->macros;
  224.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  225.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""objectFieldLabel"));
  226.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  227.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""objectFieldLabel"));
  228.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Salon name", [], "messages");
  229.         
  230.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  231.         
  232.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  233.     }
  234.     public function getTemplateName()
  235.     {
  236.         return "beautytada/page.recommend-a-salon.twig";
  237.     }
  238.     public function isTraitable()
  239.     {
  240.         return false;
  241.     }
  242.     public function getDebugInfo()
  243.     {
  244.         return array (  270 => 28,  247 => 27,  162 => 30,  160 => 27,  152 => 22,  148 => 21,  144 => 20,  140 => 19,  135 => 17,  131 => 16,  127 => 15,  124 => 14,  114 => 13,  102 => 10,  97 => 9,  87 => 8,  75 => 5,  70 => 4,  60 => 3,  37 => 1,);
  245.     }
  246.     public function getSourceContext()
  247.     {
  248.         return new Source("{% extends 'beautytada/layout.postcode.twig' %}
  249. {% block stylesheets %}
  250.     {{ parent() }}
  251.     {{ encore_entry_link_tags('recommend-a-salon') }}
  252. {% endblock %}
  253. {% block javascripts %}
  254.     {{ parent() }}
  255.     {{ encore_entry_script_tags('recommend-a-salon') }}
  256. {% endblock %}
  257. {% block content %}
  258.     <script>
  259.         TRANS['contactFormTitle'] = '{% trans %}Recommend a Salon{% endtrans %}'
  260.         TRANS['object'] = '{% trans %}Salon{% endtrans %}'
  261.         TRANS['successMessage'] = '{% trans %}Thank you for recommendation, we will contact your recommended salon soon{% endtrans %}'
  262.         WINDOW_CONFIG['apiSearchStoreByPostcode'] = \"{{ path('api_v1_search_stores_by_postcode') }}\"
  263.         WINDOW_CONFIG['recommendRestaurantRegisterApi'] = '{{ path('api_v1_register_salon_register') }}'
  264.         WINDOW_CONFIG['recommendRestaurantRegisterToken'] = '{{ csrf_token('register-salon') }}'
  265.         WINDOW_CONFIG['siteKey'] = '{{ k_captcha_public_key() }}'
  266.     </script>
  267.     <div id=\"recommend-a-salon\">
  268.         <recommend-form inline-template @submit=\"register\" :processing=\"processing\" ref=\"recommendForm\">
  269.             {% embed \"beautytada/component/recommend-form.twig\" %}
  270.                 {% block objectFieldLabel %}{% trans %}Salon name{% endtrans %}{% endblock %}
  271.             {% endembed %}
  272.         </recommend-form>
  273.     </div>
  274. {% endblock %}
  275. ""beautytada/page.recommend-a-salon.twig""/home/btdcom/www/testing-kob26688.beautytada.com/templates/beautytada/page.recommend-a-salon.twig");
  276.     }
  277. }