<?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;
/* @SyliusShop/Contact/request.html.twig */
class __TwigTemplate_ac4295eee5c8c78d702d58702113aa64 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'seo_title' => [$this, 'block_seo_title'],
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "@SyliusShop/layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@SyliusShop/Contact/request.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@SyliusShop/Contact/request.html.twig"));
// line 3
$this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 3, $this->source); })()), [0 => "@SyliusShop/Form/theme.html.twig", 1 => "Context/Shop/Form/checkbox.html.twig", 2 => "Context/Common/ReCaptcha/adaptive_widget.html.twig"], true);
// line 1
$this->parent = $this->loadTemplate("@SyliusShop/layout.html.twig", "@SyliusShop/Contact/request.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 5
public function block_seo_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "seo_title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "seo_title"));
echo "<title>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.footer.contact_us"), "html", null, true);
echo " | Hyfindr</title>";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 7
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 8
echo " <div class=\"ui hidden divider\"></div>
";
// line 9
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 9, $this->source); })()), 'form_start', ["action" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("sylius_shop_contact_request", ["company" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("company")]), "attr" => ["class" => "ui form hyfindr-form", "novalidate" => "novalidate"]]);
// line 12
echo "
";
// line 13
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 13, $this->source); })()), 'errors');
echo "
<h1 class=\"text-4xl\" style=\"font-weight: normal\">";
// line 14
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.contact.send_hyfindr_message"), "html", null, true);
echo "</h1>
<div class=\"ui divider\"></div>
<div class=\"ui two column stackable grid\">
<div class=\"column\">
<div class=\"two fields\">
";
// line 19
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 19, $this->source); })()), "firstName", [], "any", false, false, false, 19), 'row', ["label" => "app.ui.form.first_name", "attr" => ["placeholder" => "app.ui.form.first_name"]]);
echo "
";
// line 20
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 20, $this->source); })()), "lastName", [], "any", false, false, false, 20), 'row', ["label" => "app.ui.form.last_name", "attr" => ["placeholder" => "app.ui.form.last_name"]]);
echo "
</div>
";
// line 22
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 22, $this->source); })()), "companyName", [], "any", false, false, false, 22), 'row', ["label" => "app.ui.form.legal_name_of_company", "attr" => ["placeholder" => "app.ui.form.placeholders.company"]]);
echo "
";
// line 23
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 23, $this->source); })()), "country", [], "any", false, false, false, 23), 'row', ["label" => "app.ui.form.country"]);
echo "
";
// line 24
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 24, $this->source); })()), "email", [], "any", false, false, false, 24), 'row', ["label" => "app.ui.form.email", "attr" => ["placeholder" => "app.ui.form.placeholders.email"]]);
echo "
";
// line 25
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 25, $this->source); })()), "phoneNumber", [], "any", false, false, false, 25), 'row', ["label" => "app.ui.form.phone_number", "attr" => ["placeholder" => "app.ui.form.placeholders.phone_number"]]);
echo "
</div>
<div class=\"column\">
<div class=\"contact-textarea-field\">
";
// line 29
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 29, $this->source); })()), "message", [], "any", false, false, false, 29), 'row', ["label" => "app.ui.form.message"]);
echo "
</div>
<div class=\"field terms-field\">
<div class=\"ui\">
<label for=\"contact_agreement\">
";
// line 34
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 34, $this->source); })()), "agreement", [], "any", false, false, false, 34), 'row', ["label" => false]);
echo "
";
// line 35
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.form.privacy_policy_and_terms", ["%privacy_link%" => $this->extensions['BitBag\OpenMarketplace\Component\Core\Common\Twig\RenderLinkForCodeWithSuffixExtension']->renderUrlForCodeWithSuffix("privacy_policy", "legal"), "%terms_link%" => $this->extensions['BitBag\OpenMarketplace\Component\Core\Common\Twig\RenderLinkForCodeWithSuffixExtension']->renderUrlForCodeWithSuffix("general_terms", "legal")]);
// line 38
echo "
</label>
</div>
</div>
<div class=\"field\">
";
// line 43
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 43, $this->source); })()), "recaptcha", [], "any", false, false, false, 43), 'row', $this->env->getFunction('sylius_test_form_attribute')->getCallable()("recaptcha"));
echo "
</div>
</div>
<button class=\"hyfindr btn btn--primary contact-submit-button\">";
// line 46
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.form.send"), "html", null, true);
echo "</button>
</div>
";
// line 48
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 48, $this->source); })()), "_token", [], "any", false, false, false, 48), 'row');
echo "
";
// line 49
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 49, $this->source); })()), 'form_end', ["render_rest" => false]);
echo "
<div class=\"text-4xl appointment-header\">";
// line 51
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.contact.schedule_an_appointment"), "html", null, true);
echo "</div>
<div class=\"ui divider\"></div>
<div class=\"section-container contact-section meeting-slot\">
<div class=\"split-sections\">
<a href=\"https://outlook.office365.com/book/HyfindrMeeting@hyfindr.com/\" target=\"_blank\" class=\"hyfindr btn btn--primary\">";
// line 55
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.contact.choose_a_meeting_slot"), "html", null, true);
echo "</a>
<div class=\"text-part text-lg\">";
// line 56
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.contact.having_good_conversations"), "html", null, true);
echo "</div>
</div>
</div>
<div class=\"contact_faq\">
";
// line 61
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("bitbag_sylius_cms_plugin_shop_block_index_by_section_code", ["sectionCode" => "contact_faq", "template" => "@SyliusShop/Contact/faq.html.twig"]));
echo "
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "@SyliusShop/Contact/request.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 201 => 61, 193 => 56, 189 => 55, 182 => 51, 177 => 49, 173 => 48, 168 => 46, 162 => 43, 155 => 38, 153 => 35, 149 => 34, 141 => 29, 134 => 25, 130 => 24, 126 => 23, 122 => 22, 117 => 20, 113 => 19, 105 => 14, 101 => 13, 98 => 12, 96 => 9, 93 => 8, 83 => 7, 62 => 5, 51 => 1, 49 => 3, 36 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends '@SyliusShop/layout.html.twig' %}
{% form_theme form with ['@SyliusShop/Form/theme.html.twig', 'Context/Shop/Form/checkbox.html.twig', 'Context/Common/ReCaptcha/adaptive_widget.html.twig'] %}
{% block seo_title %}<title>{{ 'app.ui.footer.contact_us'|trans }} | Hyfindr</title>{% endblock %}
{% block content %}
<div class=\"ui hidden divider\"></div>
{{ form_start(form, {
'action': path('sylius_shop_contact_request', {'company': 'company'|trans}),
'attr': {'class': 'ui form hyfindr-form', 'novalidate': 'novalidate'}})
}}
{{ form_errors(form) }}
<h1 class=\"text-4xl\" style=\"font-weight: normal\">{{ 'app.ui.contact.send_hyfindr_message'|trans }}</h1>
<div class=\"ui divider\"></div>
<div class=\"ui two column stackable grid\">
<div class=\"column\">
<div class=\"two fields\">
{{ form_row(form.firstName, {'label' : 'app.ui.form.first_name', 'attr' : {'placeholder': 'app.ui.form.first_name'}}) }}
{{ form_row(form.lastName, {'label' : 'app.ui.form.last_name', 'attr' : {'placeholder': 'app.ui.form.last_name'}}) }}
</div>
{{ form_row(form.companyName, {'label' : 'app.ui.form.legal_name_of_company', 'attr' : {'placeholder': 'app.ui.form.placeholders.company'}}) }}
{{ form_row(form.country, {'label' : 'app.ui.form.country'}) }}
{{ form_row(form.email, {'label' : 'app.ui.form.email', 'attr' : {'placeholder': 'app.ui.form.placeholders.email'}}) }}
{{ form_row(form.phoneNumber, {'label' : 'app.ui.form.phone_number', 'attr' : {'placeholder': 'app.ui.form.placeholders.phone_number'}}) }}
</div>
<div class=\"column\">
<div class=\"contact-textarea-field\">
{{ form_row(form.message, {'label' : 'app.ui.form.message'}) }}
</div>
<div class=\"field terms-field\">
<div class=\"ui\">
<label for=\"contact_agreement\">
{{ form_row(form.agreement, {'label' : false}) }}
{{ 'app.ui.form.privacy_policy_and_terms'|trans({
'%privacy_link%': hyf_get_url_for_code_with_suffix('privacy_policy', 'legal'),
'%terms_link%': hyf_get_url_for_code_with_suffix('general_terms', 'legal')
})|raw }}
</label>
</div>
</div>
<div class=\"field\">
{{ form_row(form.recaptcha, sylius_test_form_attribute('recaptcha')) }}
</div>
</div>
<button class=\"hyfindr btn btn--primary contact-submit-button\">{{ 'app.ui.form.send'|trans }}</button>
</div>
{{ form_row(form._token) }}
{{ form_end(form, {'render_rest': false}) }}
<div class=\"text-4xl appointment-header\">{{ 'app.ui.contact.schedule_an_appointment'|trans }}</div>
<div class=\"ui divider\"></div>
<div class=\"section-container contact-section meeting-slot\">
<div class=\"split-sections\">
<a href=\"https://outlook.office365.com/book/HyfindrMeeting@hyfindr.com/\" target=\"_blank\" class=\"hyfindr btn btn--primary\">{{ 'app.ui.contact.choose_a_meeting_slot'|trans }}</a>
<div class=\"text-part text-lg\">{{ 'app.ui.contact.having_good_conversations'|trans }}</div>
</div>
</div>
<div class=\"contact_faq\">
{{ render(path('bitbag_sylius_cms_plugin_shop_block_index_by_section_code', {'sectionCode' : 'contact_faq', 'template' : '@SyliusShop/Contact/faq.html.twig'})) }}
</div>
{% endblock %}
", "@SyliusShop/Contact/request.html.twig", "/srv/open_marketplace/templates/bundles/SyliusShopBundle/Contact/request.html.twig");
}
}