<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;
/* beautytada/page.recommend-a-salon.twig */
class __TwigTemplate_a6e7ca02bd71587c1c72fb41b006f229b2c27a2446c2aaea7c65e143f4a29f58 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'stylesheets' => [$this, 'block_stylesheets'],
'javascripts' => [$this, 'block_javascripts'],
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "beautytada/layout.postcode.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "beautytada/page.recommend-a-salon.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "beautytada/page.recommend-a-salon.twig"));
$this->parent = $this->loadTemplate("beautytada/layout.postcode.twig", "beautytada/page.recommend-a-salon.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_stylesheets($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 4
echo " ";
$this->displayParentBlock("stylesheets", $context, $blocks);
echo "
";
// line 5
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("recommend-a-salon");
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 8
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 9
echo " ";
$this->displayParentBlock("javascripts", $context, $blocks);
echo "
";
// line 10
echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("recommend-a-salon");
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 13
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 14
echo " <script>
TRANS['contactFormTitle'] = '";
// line 15
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Recommend a Salon", [], "messages");
echo "'
TRANS['object'] = '";
// line 16
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Salon", [], "messages");
echo "'
TRANS['successMessage'] = '";
// line 17
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Thank you for recommendation, we will contact your recommended salon soon", [], "messages");
echo "'
WINDOW_CONFIG['apiSearchStoreByPostcode'] = \"";
// line 19
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("api_v1_search_stores_by_postcode");
echo "\"
WINDOW_CONFIG['recommendRestaurantRegisterApi'] = '";
// line 20
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("api_v1_register_salon_register");
echo "'
WINDOW_CONFIG['recommendRestaurantRegisterToken'] = '";
// line 21
echo twig_escape_filter($this->env, $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("register-salon"), "html", null, true);
echo "'
WINDOW_CONFIG['siteKey'] = '";
// line 22
echo twig_escape_filter($this->env, $this->extensions['Kobizo\Component\Template\TwigExtensions\GoogleServiceProviderExtension']->getRecaptchaPublicKey(), "html", null, true);
echo "'
</script>
<div id=\"recommend-a-salon\">
<recommend-form inline-template @submit=\"register\" :processing=\"processing\" ref=\"recommendForm\">
";
// line 27
$this->loadTemplate("beautytada/page.recommend-a-salon.twig", "beautytada/page.recommend-a-salon.twig", 27, "620611939")->display($context);
// line 30
echo " </recommend-form>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "beautytada/page.recommend-a-salon.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends 'beautytada/layout.postcode.twig' %}
{% block stylesheets %}
{{ parent() }}
{{ encore_entry_link_tags('recommend-a-salon') }}
{% endblock %}
{% block javascripts %}
{{ parent() }}
{{ encore_entry_script_tags('recommend-a-salon') }}
{% endblock %}
{% block content %}
<script>
TRANS['contactFormTitle'] = '{% trans %}Recommend a Salon{% endtrans %}'
TRANS['object'] = '{% trans %}Salon{% endtrans %}'
TRANS['successMessage'] = '{% trans %}Thank you for recommendation, we will contact your recommended salon soon{% endtrans %}'
WINDOW_CONFIG['apiSearchStoreByPostcode'] = \"{{ path('api_v1_search_stores_by_postcode') }}\"
WINDOW_CONFIG['recommendRestaurantRegisterApi'] = '{{ path('api_v1_register_salon_register') }}'
WINDOW_CONFIG['recommendRestaurantRegisterToken'] = '{{ csrf_token('register-salon') }}'
WINDOW_CONFIG['siteKey'] = '{{ k_captcha_public_key() }}'
</script>
<div id=\"recommend-a-salon\">
<recommend-form inline-template @submit=\"register\" :processing=\"processing\" ref=\"recommendForm\">
{% embed \"beautytada/component/recommend-form.twig\" %}
{% block objectFieldLabel %}{% trans %}Salon name{% endtrans %}{% endblock %}
{% endembed %}
</recommend-form>
</div>
{% endblock %}
", "beautytada/page.recommend-a-salon.twig", "/home/btdcom/www/testing-kob26688.beautytada.com/templates/beautytada/page.recommend-a-salon.twig");
}
}
/* beautytada/page.recommend-a-salon.twig */
class __TwigTemplate_a6e7ca02bd71587c1c72fb41b006f229b2c27a2446c2aaea7c65e143f4a29f58___620611939 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'objectFieldLabel' => [$this, 'block_objectFieldLabel'],
];
}
protected function doGetParent(array $context)
{
// line 27
return "beautytada/component/recommend-form.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "beautytada/page.recommend-a-salon.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "beautytada/page.recommend-a-salon.twig"));
$this->parent = $this->loadTemplate("beautytada/component/recommend-form.twig", "beautytada/page.recommend-a-salon.twig", 27);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 28
public function block_objectFieldLabel($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "objectFieldLabel"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "objectFieldLabel"));
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Salon name", [], "messages");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "beautytada/page.recommend-a-salon.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends 'beautytada/layout.postcode.twig' %}
{% block stylesheets %}
{{ parent() }}
{{ encore_entry_link_tags('recommend-a-salon') }}
{% endblock %}
{% block javascripts %}
{{ parent() }}
{{ encore_entry_script_tags('recommend-a-salon') }}
{% endblock %}
{% block content %}
<script>
TRANS['contactFormTitle'] = '{% trans %}Recommend a Salon{% endtrans %}'
TRANS['object'] = '{% trans %}Salon{% endtrans %}'
TRANS['successMessage'] = '{% trans %}Thank you for recommendation, we will contact your recommended salon soon{% endtrans %}'
WINDOW_CONFIG['apiSearchStoreByPostcode'] = \"{{ path('api_v1_search_stores_by_postcode') }}\"
WINDOW_CONFIG['recommendRestaurantRegisterApi'] = '{{ path('api_v1_register_salon_register') }}'
WINDOW_CONFIG['recommendRestaurantRegisterToken'] = '{{ csrf_token('register-salon') }}'
WINDOW_CONFIG['siteKey'] = '{{ k_captcha_public_key() }}'
</script>
<div id=\"recommend-a-salon\">
<recommend-form inline-template @submit=\"register\" :processing=\"processing\" ref=\"recommendForm\">
{% embed \"beautytada/component/recommend-form.twig\" %}
{% block objectFieldLabel %}{% trans %}Salon name{% endtrans %}{% endblock %}
{% endembed %}
</recommend-form>
</div>
{% endblock %}
", "beautytada/page.recommend-a-salon.twig", "/home/btdcom/www/testing-kob26688.beautytada.com/templates/beautytada/page.recommend-a-salon.twig");
}
}