<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
/* contact_us/index.html.twig */
class __TwigTemplate_7521641f39331a9a603609b5fbe50aff736a98f3c1c50d41f7eef564adf5b5c2 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'stylesheets' => [$this, 'block_stylesheets'],
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 6
return "base.html.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", "contact_us/index.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "contact_us/index.html.twig"));
// line 1
$context["body_classes"] = ["contact-us"];
// line 2
$context["title"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("contact_us.title");
// line 3
$context["description"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("contact_us.description");
// line 4
$context["keywords"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("contact_us.keywords");
// line 6
$this->parent = $this->loadTemplate("base.html.twig", "contact_us/index.html.twig", 6);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 8
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 9
yield " ";
yield from $this->yieldParentBlock("stylesheets", $context, $blocks);
yield "
";
// line 10
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("contact_us");
yield "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// 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
yield " <main class=\"fade-in\">
<div class=\"container\">
<div class=\"contact-us-form-container\">
<div class=\"description-wrapper\">
<h3>";
// line 18
yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("contacts_us.operator_title");
yield "</h3>
<p>";
// line 19
yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("contacts_us.operator_address");
yield "</p>
</div>
<div class=\"form-wrapper\" ";
// line 21
yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\StimulusTwigExtension']->renderStimulusController($this->env, "send_contact", ["url" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("contact_us_send")]);
yield ">
<div class=\"title\">
<h4>";
// line 23
yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("contacts_us.form_title");
yield "</h4>
<p>";
// line 24
yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("contacts_us.form_description");
yield "</p>
</div>
";
// line 26
yield $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.', 26, $this->source); })()), 'form_start', ["attr" => ["data-action" => "submit->send-contact#onSend"]]);
// line 28
yield "
<div class=\"field-wrapper\">
";
// line 30
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 30, $this->source); })()), "name", [], "any", false, false, false, 30), 'widget', ["attr" => ["data-action" => "focus->send-contact#onFocus"]]);
// line 32
yield "
</div>
<div class=\"field-wrapper\">
";
// line 35
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 35, $this->source); })()), "email", [], "any", false, false, false, 35), 'widget', ["attr" => ["data-action" => "focus->send-contact#onFocus"]]);
// line 37
yield "
</div>
<div class=\"field-wrapper\">
";
// line 40
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 40, $this->source); })()), "content", [], "any", false, false, false, 40), 'widget', ["attr" => ["data-action" => "focus->send-contact#onFocus", "data-send-contact-target" => "content"]]);
// line 43
yield "
</div>
";
// line 48
yield " <div class=\"buttons-container\">
";
// line 49
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 49, $this->source); })()), "submit", [], "any", false, false, false, 49), 'widget');
yield "
</div>
";
// line 51
yield $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.', 51, $this->source); })()), 'form_end');
yield "
</div>
</div>
</div>
</main>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "contact_us/index.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 170 => 51, 165 => 49, 162 => 48, 158 => 43, 156 => 40, 151 => 37, 149 => 35, 144 => 32, 142 => 30, 138 => 28, 136 => 26, 131 => 24, 127 => 23, 122 => 21, 117 => 19, 113 => 18, 107 => 14, 97 => 13, 84 => 10, 79 => 9, 69 => 8, 58 => 6, 56 => 4, 54 => 3, 52 => 2, 50 => 1, 37 => 6,);
}
public function getSourceContext()
{
return new Source("{% set body_classes = ['contact-us'] %}
{% set title = 'contact_us.title'|trans %}
{% set description = 'contact_us.description'|trans %}
{% set keywords = 'contact_us.keywords'|trans %}
{% extends 'base.html.twig' %}
{% block stylesheets %}
{{ parent() }}
{{ encore_entry_link_tags('contact_us') }}
{% endblock stylesheets %}
{% block content %}
<main class=\"fade-in\">
<div class=\"container\">
<div class=\"contact-us-form-container\">
<div class=\"description-wrapper\">
<h3>{{ 'contacts_us.operator_title'|trans|raw }}</h3>
<p>{{ 'contacts_us.operator_address'|trans|raw }}</p>
</div>
<div class=\"form-wrapper\" {{ stimulus_controller('send_contact', {'url': path('contact_us_send')}) }}>
<div class=\"title\">
<h4>{{ 'contacts_us.form_title'|trans|raw }}</h4>
<p>{{ 'contacts_us.form_description'|trans|raw }}</p>
</div>
{{ form_start(form, {'attr': {
'data-action': 'submit->send-contact#onSend'
}}) }}
<div class=\"field-wrapper\">
{{ form_widget(form.name, {'attr': {
'data-action': 'focus->send-contact#onFocus'
}}) }}
</div>
<div class=\"field-wrapper\">
{{ form_widget(form.email, {'attr': {
'data-action': 'focus->send-contact#onFocus'
}}) }}
</div>
<div class=\"field-wrapper\">
{{ form_widget(form.content, {'attr': {
'data-action': 'focus->send-contact#onFocus',
'data-send-contact-target': 'content'
}}) }}
</div>
{#<div class=\"field-wrapper\">
<img style=\"width: 15rem;\" src=\"/web/images/contact-us/captcha.gif\">
</div>#}
<div class=\"buttons-container\">
{{ form_widget(form.submit) }}
</div>
{{ form_end(form) }}
</div>
</div>
</div>
</main>
{% endblock content %}", "contact_us/index.html.twig", "/var/www/brc_frontend_translation/templates/contact_us/index.html.twig");
}
}