var/cache/dev/twig/fe/fe4611411130dcfcc5d957e690a3fbfe.php line 54

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. use Twig\TemplateWrapper;
  15. /* /default/contact_for_corporate_clients.html.twig */
  16. class __TwigTemplate_9ce814450c821cdabfefcfb87a33eb07 extends Template
  17. {
  18. private Source $source;
  19. /**
  20. * @var array<string, Template>
  21. */
  22. private array $macros = [];
  23. public function __construct(Environment $env)
  24. {
  25. parent::__construct($env);
  26. $this->source = $this->getSourceContext();
  27. $this->blocks = [
  28. 'main_content' => [$this, 'block_main_content'],
  29. 'javascripts' => [$this, 'block_javascripts'],
  30. ];
  31. }
  32. protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  33. {
  34. // line 1
  35. return "/base.html.twig";
  36. }
  37. protected function doDisplay(array $context, array $blocks = []): iterable
  38. {
  39. $macros = $this->macros;
  40. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  41. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "/default/contact_for_corporate_clients.html.twig"));
  42. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  43. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "/default/contact_for_corporate_clients.html.twig"));
  44. $this->parent = $this->load("/base.html.twig", 1);
  45. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  46. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  47. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  48. }
  49. // line 3
  50. /**
  51. * @return iterable<null|scalar|\Stringable>
  52. */
  53. public function block_main_content(array $context, array $blocks = []): iterable
  54. {
  55. $macros = $this->macros;
  56. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main_content"));
  58. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main_content"));
  60. // line 4
  61. yield " <div class=\"row text-center mt-5\">
  62. <div class=\"col\">
  63. <div class=\"card\">
  64. <div class=\"card-header primary-color text-black text-left\">
  65. <h1 class=\"mb-0 h2\">";
  66. // line 8
  67. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("contact_page.topic.faq.headline"), "html", null, true);
  68. yield "</h1>
  69. </div>
  70. <div class=\"card-body\">
  71. <div class=\"container-fluid\">
  72. <div class=\"row pt-2\">
  73. <div class=\"col-md-6 col-12 pr-md-5 mb-5 mb-md-3\">
  74. ";
  75. // line 14
  76. 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.', 14, $this->source); })()), 'form_start', ["attr" => ["id" => "contact-for-corporate-clients-form"]]);
  77. yield "
  78. <h5 class=\"text-left form-inline mb-0\">
  79. ";
  80. // line 16
  81. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("contact_page.topic.faq.i_need_personell"), "html", null, true);
  82. yield "
  83. </h5>
  84. <ul class=\"pl-1\">
  85. <div class=\"text-left mt-3\">";
  86. // line 19
  87. 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.', 19, $this->source); })()), "numberOfOffices", [], "any", false, false, false, 19), 'errors');
  88. yield "</div>
  89. <li class=\"d-flex flex-row justify-content-start\">
  90. <span class=\"h5 mt-3 pt-2\">- ca.</span>
  91. <div class=\"md-form ml-3 mr-3 my-2\">
  92. ";
  93. // line 23
  94. 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.', 23, $this->source); })()), "numberOfOffices", [], "any", false, false, false, 23), 'widget', ["attr" => ["style" => "max-width: 100px;"]]);
  95. yield "
  96. </div>
  97. <span class=\"h5 mt-3 pt-2 pb-0 mb-0\">";
  98. // line 25
  99. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("contact_page.topic.faq.offices"), "html", null, true);
  100. yield "</span>
  101. </li>
  102. <div class=\"text-left\">";
  103. // line 27
  104. 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.', 27, $this->source); })()), "numberOfVacancies", [], "any", false, false, false, 27), 'errors');
  105. yield "</div>
  106. <li class=\"d-flex flex-row justify-content-start\">
  107. <span class=\"h5 mt-3 pt-2\">- ca.</span>
  108. <div class=\"md-form ml-3 mr-3 my-2\">
  109. ";
  110. // line 31
  111. 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.', 31, $this->source); })()), "numberOfVacancies", [], "any", false, false, false, 31), 'widget', ["attr" => ["style" => "max-width: 100px;"]]);
  112. yield "
  113. </div>
  114. <span class=\"h5 mt-3 pt-2 pb-0 mb-0\">";
  115. // line 33
  116. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("contact_page.topic.faq.vacancies"), "html", null, true);
  117. yield "</span>
  118. </li>
  119. </ul>
  120. <div class=\"md-form mb-3\" style=\"margin-top: -10px;\">
  121. ";
  122. // line 37
  123. 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.', 37, $this->source); })()), "name", [], "any", false, false, false, 37), 'row');
  124. yield "
  125. </div>
  126. <div class=\"md-form mb-3\">
  127. ";
  128. // line 41
  129. 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.', 41, $this->source); })()), "company", [], "any", false, false, false, 41), 'row');
  130. yield "
  131. </div>
  132. <div class=\"md-form mb-3\">
  133. ";
  134. // line 45
  135. 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.', 45, $this->source); })()), "email", [], "any", false, false, false, 45), 'row');
  136. yield "
  137. </div>
  138. <div class=\"md-form mb-5\">
  139. ";
  140. // line 49
  141. 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); })()), "phone", [], "any", false, false, false, 49), 'row');
  142. yield "
  143. </div>
  144. <div class=\"form-group mb-3\">
  145. <span class=\"font-weight-bold\"> ";
  146. // line 53
  147. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("contact_message.optional"), "html", null, true);
  148. yield "</span>
  149. ";
  150. // line 54
  151. 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.', 54, $this->source); })()), "body", [], "any", false, false, false, 54), 'row', ["attr" => ["class" => "pl-2 pr-2", "style" => "height: 20em;"]]);
  152. yield "
  153. </div>
  154. <div class=\"";
  155. // line 57
  156. yield $this->extensions['App\Twig\AppExtension']->captchaSubmitClassFunction();
  157. yield "\" ";
  158. yield $this->extensions['App\Twig\AppExtension']->captchaSubmitDataAttributesFunction();
  159. yield "></div>
  160. <button type=\"submit\" class=\"submit-button btn btn-primary\">";
  161. // line 58
  162. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("contact_page.send"), "html", null, true);
  163. yield "</button>
  164. ";
  165. // line 60
  166. 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.', 60, $this->source); })()), 'form_end');
  167. yield "
  168. </div>
  169. <div class=\"col-md-6 col-12 pl-md-5 pr-3 text-left mb-5 mb-md-3\">
  170. <h5 class=\"text-left\">
  171. ";
  172. // line 65
  173. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("contact_page.topic.faq.call_us"), "html", null, true);
  174. yield "
  175. </h5>
  176. <h5 class=\"mt-4\">
  177. ";
  178. // line 68
  179. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("contact_page.topic.faq.phone"), "html", null, true);
  180. yield "
  181. </h5>
  182. <a href=\"tel:021329143066\" class=\"btn font-weight-bold p-2\" >
  183. <i class=\"fa fa-phone fa-lg\" aria-hidden=\"true\"></i>
  184. </a>
  185. <a href=\"tel:021329143066\">
  186. ";
  187. // line 74
  188. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("contact_page.topic.faq.gg_phone"), "html", null, true);
  189. yield "
  190. </a>
  191. <h5 class=\"mt-4\">
  192. ";
  193. // line 77
  194. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("contact_page.topic.faq.email"), "html", null, true);
  195. yield "
  196. </h5>
  197. <a href=\"mailto:info@joboo.de\" class=\"btn font-weight-bold p-2\" >
  198. <i class=\"fa fa-envelope fa-lg\" aria-hidden=\"true\"></i>
  199. </a>
  200. <a href=\"mailto:info@joboo.de\">
  201. ";
  202. // line 83
  203. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("contact_page.topic.faq.gg_email"), "html", null, true);
  204. yield "
  205. </a>
  206. </div>
  207. </div>
  208. </div>
  209. </div>
  210. </div>
  211. </div>
  212. </div>
  213. ";
  214. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  215. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  216. yield from [];
  217. }
  218. // line 94
  219. /**
  220. * @return iterable<null|scalar|\Stringable>
  221. */
  222. public function block_javascripts(array $context, array $blocks = []): iterable
  223. {
  224. $macros = $this->macros;
  225. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  226. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  227. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  228. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  229. // line 95
  230. yield " ";
  231. yield $this->extensions['App\Twig\AppExtension']->captchaJavascriptFunction("contact-for-corporate-clients-form", "submit-button");
  232. yield "
  233. ";
  234. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  235. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  236. yield from [];
  237. }
  238. /**
  239. * @codeCoverageIgnore
  240. */
  241. public function getTemplateName(): string
  242. {
  243. return "/default/contact_for_corporate_clients.html.twig";
  244. }
  245. /**
  246. * @codeCoverageIgnore
  247. */
  248. public function isTraitable(): bool
  249. {
  250. return false;
  251. }
  252. /**
  253. * @codeCoverageIgnore
  254. */
  255. public function getDebugInfo(): array
  256. {
  257. return array ( 260 => 95, 247 => 94, 226 => 83, 217 => 77, 211 => 74, 202 => 68, 196 => 65, 188 => 60, 183 => 58, 177 => 57, 171 => 54, 167 => 53, 160 => 49, 153 => 45, 146 => 41, 139 => 37, 132 => 33, 127 => 31, 120 => 27, 115 => 25, 110 => 23, 103 => 19, 97 => 16, 92 => 14, 83 => 8, 77 => 4, 64 => 3, 41 => 1,);
  258. }
  259. public function getSourceContext(): Source
  260. {
  261. return new Source("{% extends '/base.html.twig' %}
  262. {% block main_content %}
  263. <div class=\"row text-center mt-5\">
  264. <div class=\"col\">
  265. <div class=\"card\">
  266. <div class=\"card-header primary-color text-black text-left\">
  267. <h1 class=\"mb-0 h2\">{{ 'contact_page.topic.faq.headline'|trans }}</h1>
  268. </div>
  269. <div class=\"card-body\">
  270. <div class=\"container-fluid\">
  271. <div class=\"row pt-2\">
  272. <div class=\"col-md-6 col-12 pr-md-5 mb-5 mb-md-3\">
  273. {{ form_start(form, { 'attr': {'id': 'contact-for-corporate-clients-form'} }) }}
  274. <h5 class=\"text-left form-inline mb-0\">
  275. {{ 'contact_page.topic.faq.i_need_personell'|trans }}
  276. </h5>
  277. <ul class=\"pl-1\">
  278. <div class=\"text-left mt-3\">{{ form_errors(form.numberOfOffices) }}</div>
  279. <li class=\"d-flex flex-row justify-content-start\">
  280. <span class=\"h5 mt-3 pt-2\">- ca.</span>
  281. <div class=\"md-form ml-3 mr-3 my-2\">
  282. {{ form_widget(form.numberOfOffices, {'attr': {'style': 'max-width: 100px;'} }) }}
  283. </div>
  284. <span class=\"h5 mt-3 pt-2 pb-0 mb-0\">{{ 'contact_page.topic.faq.offices'|trans }}</span>
  285. </li>
  286. <div class=\"text-left\">{{ form_errors(form.numberOfVacancies) }}</div>
  287. <li class=\"d-flex flex-row justify-content-start\">
  288. <span class=\"h5 mt-3 pt-2\">- ca.</span>
  289. <div class=\"md-form ml-3 mr-3 my-2\">
  290. {{ form_widget(form.numberOfVacancies, {'attr': {'style': 'max-width: 100px;'} }) }}
  291. </div>
  292. <span class=\"h5 mt-3 pt-2 pb-0 mb-0\">{{ 'contact_page.topic.faq.vacancies'|trans }}</span>
  293. </li>
  294. </ul>
  295. <div class=\"md-form mb-3\" style=\"margin-top: -10px;\">
  296. {{ form_row(form.name) }}
  297. </div>
  298. <div class=\"md-form mb-3\">
  299. {{ form_row(form.company) }}
  300. </div>
  301. <div class=\"md-form mb-3\">
  302. {{ form_row(form.email) }}
  303. </div>
  304. <div class=\"md-form mb-5\">
  305. {{ form_row(form.phone) }}
  306. </div>
  307. <div class=\"form-group mb-3\">
  308. <span class=\"font-weight-bold\"> {{ 'contact_message.optional'|trans }}</span>
  309. {{ form_row(form.body, { 'attr': {'class': 'pl-2 pr-2', 'style': 'height: 20em;'} }) }}
  310. </div>
  311. <div class=\"{{ captchaSubmitClass() }}\" {{ captchaSubmitDataAttributes() }}></div>
  312. <button type=\"submit\" class=\"submit-button btn btn-primary\">{{ 'contact_page.send'|trans }}</button>
  313. {{ form_end(form) }}
  314. </div>
  315. <div class=\"col-md-6 col-12 pl-md-5 pr-3 text-left mb-5 mb-md-3\">
  316. <h5 class=\"text-left\">
  317. {{ 'contact_page.topic.faq.call_us'|trans }}
  318. </h5>
  319. <h5 class=\"mt-4\">
  320. {{ 'contact_page.topic.faq.phone'|trans }}
  321. </h5>
  322. <a href=\"tel:021329143066\" class=\"btn font-weight-bold p-2\" >
  323. <i class=\"fa fa-phone fa-lg\" aria-hidden=\"true\"></i>
  324. </a>
  325. <a href=\"tel:021329143066\">
  326. {{ 'contact_page.topic.faq.gg_phone'|trans }}
  327. </a>
  328. <h5 class=\"mt-4\">
  329. {{ 'contact_page.topic.faq.email'|trans }}
  330. </h5>
  331. <a href=\"mailto:info@joboo.de\" class=\"btn font-weight-bold p-2\" >
  332. <i class=\"fa fa-envelope fa-lg\" aria-hidden=\"true\"></i>
  333. </a>
  334. <a href=\"mailto:info@joboo.de\">
  335. {{ 'contact_page.topic.faq.gg_email'|trans }}
  336. </a>
  337. </div>
  338. </div>
  339. </div>
  340. </div>
  341. </div>
  342. </div>
  343. </div>
  344. {% endblock %}
  345. {% block javascripts %}
  346. {{ captchaJavascript('contact-for-corporate-clients-form', 'submit-button') }}
  347. {% endblock %}", "/default/contact_for_corporate_clients.html.twig", "/workspace/backend-app/templates/default/contact_for_corporate_clients.html.twig");
  348. }
  349. }