var/cache/dev/twig/b6/b6276eb69c9ba79f72fc1f0fd31f61c9cf3cd54f0fb40ec25cb266204e7e6b14.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. /* security/register_company.html.twig */
  14. class __TwigTemplate_30e99dd8aa3c7d3d94088004481beb2d53b52905a8814952a3e25cb2ac15c5b4 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.             'title' => [$this'block_title'],
  24.             'body' => [$this'block_body'],
  25.             'javascripts' => [$this'block_javascripts'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "base.html.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""security/register_company.html.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""security/register_company.html.twig"));
  40.         $this->parent $this->loadTemplate("base.html.twig""security/register_company.html.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_title($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""title"));
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  55.         // line 4
  56.         echo "\t";
  57.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("register"), "html"nulltrue);
  58.         echo "!
  59. ";
  60.         
  61.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  62.         
  63.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  64.     }
  65.     // line 7
  66.     public function block_body($context, array $blocks = [])
  67.     {
  68.         $macros $this->macros;
  69.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  70.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  71.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  72.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  73.         // line 8
  74.         echo "
  75. \t<main class=\"login-form  mt-4\">
  76. \t\t<div class=\"container\">
  77. \t\t\t<div class=\"alert alert-warning\">
  78. \t\t\t\t";
  79.         // line 12
  80.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("attention_you_want_to_register_a_new_company_with_this"), "html"nulltrue);
  81.         echo ".<br>
  82. \t\t\t\t";
  83.         // line 13
  84.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("please_only_use_this_function_if_you_are_authorized_for_this_company_and_have_a_corresponding_management_position"), "html"nulltrue);
  85.         echo ".<br>
  86. \t\t\t\t";
  87.         // line 14
  88.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("if_you_are_already_a_customer_as_a_company_please_contact_the_course_administration_so_that_you_can_access_your_previous_data"), "html"nulltrue);
  89.         echo ".
  90. \t\t\t</div>
  91. \t\t\t";
  92.         // line 16
  93.         if ((=== twig_compare((isset($context["RegisterState"]) || array_key_exists("RegisterState"$context) ? $context["RegisterState"] : (function () { throw new RuntimeError('Variable "RegisterState" does not exist.'16$this->source); })()), 1))) {
  94.             // line 17
  95.             echo "\t\t\t\t<div class=\"row justify-content-center\">
  96. \t\t\t\t\t<a href=";
  97.             // line 18
  98.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
  99.             echo " class=\"btn btn-link\">
  100. \t\t\t\t\t\t";
  101.             // line 19
  102.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("back_to_login"), "html"nulltrue);
  103.             echo "
  104. \t\t\t\t\t</a>
  105. \t\t\t\t</div>
  106. \t\t\t";
  107.         }
  108.         // line 23
  109.         echo "\t\t\t";
  110.         if ((!== twig_compare((isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'23$this->source); })()), 0))) {
  111.             // line 24
  112.             echo "\t\t\t\t<div class=\"row justify-content-center\">
  113. \t\t\t\t\t<div class=\"col-md-8\">
  114. \t\t\t\t\t\t<div class=\"card\">
  115. \t\t\t\t\t\t\t<div class=\"card-header\">
  116. \t\t\t\t\t\t\t\t<h1 class=\"h3 mb-3 font-weight-normal\">";
  117.             // line 28
  118.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("please_register"), "html"nulltrue);
  119.             echo "</h1>
  120. \t\t\t\t\t\t\t</div>
  121. \t\t\t\t\t\t\t<div class=\"card-body\">
  122. \t\t\t\t\t\t\t\t<h4 class=\"card-title text-center\">";
  123.             // line 31
  124.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("responsible_contact_person"), "html"nulltrue);
  125.             echo "</h4>
  126. \t\t\t\t\t\t\t\t";
  127.             // line 32
  128.             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.'32$this->source); })()), 'form_start', ["attr" => ["class" => "needs-validation""novalidate" => "novalidate"]]);
  129.             echo "
  130. \t\t\t\t\t\t\t\t<div class=\"row\">
  131. \t\t\t\t\t\t\t\t\t";
  132.             // line 34
  133.             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); })()), "Salutation", [], "any"falsefalsefalse34), 'label', ["label_attr" => ["class" => "col-md-4 col-form-label text-md-right"], "label" => "Salutation"]);
  134.             echo "
  135. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  136. \t\t\t\t\t\t\t\t\t\t";
  137.             // line 36
  138.             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.'36$this->source); })()), "Salutation", [], "any"falsefalsefalse36), 'widget');
  139.             echo "
  140. \t\t\t\t\t\t\t\t\t</div>
  141. \t\t\t\t\t\t\t\t</div>
  142. \t\t\t\t\t\t\t\t<div class=\"row\">
  143. \t\t\t\t\t\t\t\t\t";
  144.             // line 40
  145.             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.'40$this->source); })()), "Email", [], "any"falsefalsefalse40), 'label', ["label_attr" => ["class" => "col-md-4 col-form-label text-md-right"], "label" => "email"]);
  146.             echo "
  147. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  148. \t\t\t\t\t\t\t\t\t\t";
  149.             // line 42
  150.             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.'42$this->source); })()), "Email", [], "any"falsefalsefalse42), 'widget');
  151.             echo "
  152. \t\t\t\t\t\t\t\t\t</div>
  153. \t\t\t\t\t\t\t\t</div>
  154. \t\t\t\t\t\t\t\t<div class=\"row\">
  155. \t\t\t\t\t\t\t\t\t";
  156.             // line 46
  157.             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.'46$this->source); })()), "Firstname", [], "any"falsefalsefalse46), 'label', ["label_attr" => ["class" => "col-md-4 col-form-label text-md-right"], "label" => "firstname"]);
  158.             echo "
  159. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  160. \t\t\t\t\t\t\t\t\t\t";
  161.             // line 48
  162.             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); })()), "Firstname", [], "any"falsefalsefalse48), 'widget');
  163.             echo "
  164. \t\t\t\t\t\t\t\t\t</div>
  165. \t\t\t\t\t\t\t\t</div>
  166. \t\t\t\t\t\t\t\t<div class=\"row\">
  167. \t\t\t\t\t\t\t\t\t";
  168.             // line 52
  169.             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.'52$this->source); })()), "Lastname", [], "any"falsefalsefalse52), 'label', ["label_attr" => ["class" => "col-md-4 col-form-label text-md-right"], "label" => "lastname"]);
  170.             echo "
  171. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  172. \t\t\t\t\t\t\t\t\t\t";
  173.             // line 54
  174.             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.'54$this->source); })()), "Lastname", [], "any"falsefalsefalse54), 'widget');
  175.             echo "
  176. \t\t\t\t\t\t\t\t\t</div>
  177. \t\t\t\t\t\t\t\t</div>
  178. \t\t\t\t\t\t\t\t<div class=\"row\">
  179. \t\t\t\t\t\t\t\t\t";
  180.             // line 58
  181.             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.'58$this->source); })()), "Phone", [], "any"falsefalsefalse58), 'label', ["label_attr" => ["class" => "col-md-4 col-form-label text-md-right"], "label" => "Phone"]);
  182.             echo "
  183. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  184. \t\t\t\t\t\t\t\t\t\t";
  185.             // line 60
  186.             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.'60$this->source); })()), "Phone", [], "any"falsefalsefalse60), 'widget');
  187.             echo "
  188. \t\t\t\t\t\t\t\t\t</div>
  189. \t\t\t\t\t\t\t\t</div>
  190. \t\t\t\t\t\t\t\t<div class=\"row\">
  191. \t\t\t\t\t\t\t\t\t";
  192.             // line 64
  193.             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.'64$this->source); })()), "Password", [], "any"falsefalsefalse64), 'label', ["label_attr" => ["class" => "col-md-4 col-form-label text-md-right"], "label" => "password"]);
  194.             echo "
  195. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  196. \t\t\t\t\t\t\t\t\t\t";
  197.             // line 66
  198.             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.'66$this->source); })()), "Password", [], "any"falsefalsefalse66), 'widget');
  199.             echo "
  200. \t\t\t\t\t\t\t\t\t</div>
  201. \t\t\t\t\t\t\t\t</div>
  202. \t\t\t\t\t\t\t\t<div class=\"row\">
  203. \t\t\t\t\t\t\t\t\t";
  204.             // line 70
  205.             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.'70$this->source); })()), "PasswordConfirm", [], "any"falsefalsefalse70), 'label', ["label_attr" => ["class" => "col-md-4 col-form-label text-md-right"], "label" => "PasswordConfirm"]);
  206.             echo "
  207. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  208. \t\t\t\t\t\t\t\t\t\t";
  209.             // line 72
  210.             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.'72$this->source); })()), "PasswordConfirm", [], "any"falsefalsefalse72), 'widget');
  211.             echo "
  212. \t\t\t\t\t\t\t\t\t</div>
  213. \t\t\t\t\t\t\t\t</div>
  214. \t\t\t\t\t\t\t\t<hr/>
  215. \t\t\t\t\t\t\t\t<h4 class=\"card-title text-center\">";
  216.             // line 76
  217.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("company_details"), "html"nulltrue);
  218.             echo "</h4>
  219. \t\t\t\t\t\t\t\t<div class=\"row\">
  220. \t\t\t\t\t\t\t\t\t";
  221.             // line 78
  222.             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.'78$this->source); })()), "Company", [], "any"falsefalsefalse78), 'label', ["label_attr" => ["class" => "col-md-4 col-form-label text-md-right"], "label" => "company"]);
  223.             echo "
  224. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  225. \t\t\t\t\t\t\t\t\t\t";
  226.             // line 80
  227.             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.'80$this->source); })()), "Company", [], "any"falsefalsefalse80), 'widget');
  228.             echo "
  229. \t\t\t\t\t\t\t\t\t</div>
  230. \t\t\t\t\t\t\t\t</div>
  231. \t\t\t\t\t\t\t\t<div class=\"row\">
  232. \t\t\t\t\t\t\t\t\t";
  233.             // line 84
  234.             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.'84$this->source); })()), "CompanyAddress", [], "any"falsefalsefalse84), 'label', ["label_attr" => ["class" => "col-md-4 col-form-label text-md-right"], "label" => "address"]);
  235.             echo "
  236. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  237. \t\t\t\t\t\t\t\t\t\t";
  238.             // line 86
  239.             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.'86$this->source); })()), "CompanyAddress", [], "any"falsefalsefalse86), 'widget');
  240.             echo "
  241. \t\t\t\t\t\t\t\t\t</div>
  242. \t\t\t\t\t\t\t\t</div>
  243. \t\t\t\t\t\t\t\t<div class=\"row\">
  244. \t\t\t\t\t\t\t\t\t";
  245.             // line 90
  246.             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.'90$this->source); })()), "CompanyZip", [], "any"falsefalsefalse90), 'label', ["label_attr" => ["class" => "col-md-4 col-form-label text-md-right"], "label" => "zip"]);
  247.             echo "
  248. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  249. \t\t\t\t\t\t\t\t\t\t";
  250.             // line 92
  251.             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.'92$this->source); })()), "CompanyZip", [], "any"falsefalsefalse92), 'widget');
  252.             echo "
  253. \t\t\t\t\t\t\t\t\t</div>
  254. \t\t\t\t\t\t\t\t</div>
  255. \t\t\t\t\t\t\t\t<div class=\"row\">
  256. \t\t\t\t\t\t\t\t\t";
  257.             // line 96
  258.             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.'96$this->source); })()), "CompanyCity", [], "any"falsefalsefalse96), 'label', ["label_attr" => ["class" => "col-md-4 col-form-label text-md-right"], "label" => "city"]);
  259.             echo "
  260. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  261. \t\t\t\t\t\t\t\t\t\t";
  262.             // line 98
  263.             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.'98$this->source); })()), "CompanyCity", [], "any"falsefalsefalse98), 'widget');
  264.             echo "
  265. \t\t\t\t\t\t\t\t\t</div>
  266. \t\t\t\t\t\t\t\t</div>
  267. \t\t\t\t\t\t\t\t<div class=\"row\">
  268. \t\t\t\t\t\t\t\t\t";
  269.             // line 102
  270.             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.'102$this->source); })()), "CompanyPhone", [], "any"falsefalsefalse102), 'label', ["label_attr" => ["class" => "col-md-4 col-form-label text-md-right"], "label" => "phone"]);
  271.             echo "
  272. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  273. \t\t\t\t\t\t\t\t\t\t";
  274.             // line 104
  275.             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.'104$this->source); })()), "CompanyPhone", [], "any"falsefalsefalse104), 'widget');
  276.             echo "
  277. \t\t\t\t\t\t\t\t\t</div>
  278. \t\t\t\t\t\t\t\t</div>
  279. \t\t\t\t\t\t\t\t<div class=\"col-md-6 offset-md-4 text-white\">
  280. \t\t\t\t\t\t\t\t\t";
  281.             // line 108
  282.             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.'108$this->source); })()), "Submit", [], "any"falsefalsefalse108), 'widget');
  283.             echo "
  284. \t\t\t\t\t\t\t\t\t<a href=";
  285.             // line 109
  286.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
  287.             echo " class=\"btn btn-link\">
  288. \t\t\t\t\t\t\t\t\t\t";
  289.             // line 110
  290.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("back_to_login"), "html"nulltrue);
  291.             echo "
  292. \t\t\t\t\t\t\t\t\t</a>
  293. \t\t\t\t\t\t\t\t</div>
  294. \t\t\t\t\t\t\t\t";
  295.             // line 113
  296.             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.'113$this->source); })()), 'form_end');
  297.             echo "
  298. \t\t\t\t\t\t\t</div>
  299. \t\t\t\t\t\t</div>
  300. \t\t\t\t\t</div>
  301. \t\t\t\t</div>
  302. \t\t\t";
  303.         }
  304.         // line 119
  305.         echo "\t\t</div>
  306. \t</main>
  307. ";
  308.         
  309.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  310.         
  311.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  312.     }
  313.     // line 122
  314.     public function block_javascripts($context, array $blocks = [])
  315.     {
  316.         $macros $this->macros;
  317.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  318.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  319.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  320.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  321.         // line 123
  322.         echo "
  323. \t";
  324.         // line 124
  325.         $this->displayParentBlock("javascripts"$context$blocks);
  326.         echo "
  327. \t";
  328.         // line 125
  329.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("formValidation");
  330.         echo "
  331. ";
  332.         
  333.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  334.         
  335.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  336.     }
  337.     public function getTemplateName()
  338.     {
  339.         return "security/register_company.html.twig";
  340.     }
  341.     public function isTraitable()
  342.     {
  343.         return false;
  344.     }
  345.     public function getDebugInfo()
  346.     {
  347.         return array (  353 => 125,  349 => 124,  346 => 123,  336 => 122,  324 => 119,  315 => 113,  309 => 110,  305 => 109,  301 => 108,  294 => 104,  289 => 102,  282 => 98,  277 => 96,  270 => 92,  265 => 90,  258 => 86,  253 => 84,  246 => 80,  241 => 78,  236 => 76,  229 => 72,  224 => 70,  217 => 66,  212 => 64,  205 => 60,  200 => 58,  193 => 54,  188 => 52,  181 => 48,  176 => 46,  169 => 42,  164 => 40,  157 => 36,  152 => 34,  147 => 32,  143 => 31,  137 => 28,  131 => 24,  128 => 23,  121 => 19,  117 => 18,  114 => 17,  112 => 16,  107 => 14,  103 => 13,  99 => 12,  93 => 8,  83 => 7,  70 => 4,  60 => 3,  37 => 1,);
  348.     }
  349.     public function getSourceContext()
  350.     {
  351.         return new Source("{% extends 'base.html.twig' %}
  352. {% block title %}
  353. \t{{ 'register'|trans }}!
  354. {% endblock %}
  355. {% block body %}
  356. \t<main class=\"login-form  mt-4\">
  357. \t\t<div class=\"container\">
  358. \t\t\t<div class=\"alert alert-warning\">
  359. \t\t\t\t{{ 'attention_you_want_to_register_a_new_company_with_this'|trans }}.<br>
  360. \t\t\t\t{{ 'please_only_use_this_function_if_you_are_authorized_for_this_company_and_have_a_corresponding_management_position'|trans }}.<br>
  361. \t\t\t\t{{ 'if_you_are_already_a_customer_as_a_company_please_contact_the_course_administration_so_that_you_can_access_your_previous_data'|trans }}.
  362. \t\t\t</div>
  363. \t\t\t{% if RegisterState == 1 %}
  364. \t\t\t\t<div class=\"row justify-content-center\">
  365. \t\t\t\t\t<a href={{ path('app_login') }} class=\"btn btn-link\">
  366. \t\t\t\t\t\t{{ 'back_to_login'|trans }}
  367. \t\t\t\t\t</a>
  368. \t\t\t\t</div>
  369. \t\t\t{% endif %}
  370. \t\t\t{% if error != 0 %}
  371. \t\t\t\t<div class=\"row justify-content-center\">
  372. \t\t\t\t\t<div class=\"col-md-8\">
  373. \t\t\t\t\t\t<div class=\"card\">
  374. \t\t\t\t\t\t\t<div class=\"card-header\">
  375. \t\t\t\t\t\t\t\t<h1 class=\"h3 mb-3 font-weight-normal\">{{ 'please_register'|trans }}</h1>
  376. \t\t\t\t\t\t\t</div>
  377. \t\t\t\t\t\t\t<div class=\"card-body\">
  378. \t\t\t\t\t\t\t\t<h4 class=\"card-title text-center\">{{ 'responsible_contact_person'|trans }}</h4>
  379. \t\t\t\t\t\t\t\t{{ form_start(form ,{attr: {'class': 'needs-validation','novalidate': 'novalidate'}}) }}
  380. \t\t\t\t\t\t\t\t<div class=\"row\">
  381. \t\t\t\t\t\t\t\t\t{{ form_label(form.Salutation, 'Salutation', { 'label_attr': {'class': 'col-md-4 col-form-label text-md-right'} }) }}
  382. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  383. \t\t\t\t\t\t\t\t\t\t{{ form_widget(form.Salutation) }}
  384. \t\t\t\t\t\t\t\t\t</div>
  385. \t\t\t\t\t\t\t\t</div>
  386. \t\t\t\t\t\t\t\t<div class=\"row\">
  387. \t\t\t\t\t\t\t\t\t{{ form_label(form.Email, 'email', { 'label_attr': {'class': 'col-md-4 col-form-label text-md-right'} }) }}
  388. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  389. \t\t\t\t\t\t\t\t\t\t{{ form_widget(form.Email) }}
  390. \t\t\t\t\t\t\t\t\t</div>
  391. \t\t\t\t\t\t\t\t</div>
  392. \t\t\t\t\t\t\t\t<div class=\"row\">
  393. \t\t\t\t\t\t\t\t\t{{ form_label(form.Firstname, 'firstname', { 'label_attr': {'class': 'col-md-4 col-form-label text-md-right'} }) }}
  394. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  395. \t\t\t\t\t\t\t\t\t\t{{ form_widget(form.Firstname) }}
  396. \t\t\t\t\t\t\t\t\t</div>
  397. \t\t\t\t\t\t\t\t</div>
  398. \t\t\t\t\t\t\t\t<div class=\"row\">
  399. \t\t\t\t\t\t\t\t\t{{ form_label(form.Lastname, 'lastname', { 'label_attr': {'class': 'col-md-4 col-form-label text-md-right'} }) }}
  400. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  401. \t\t\t\t\t\t\t\t\t\t{{ form_widget(form.Lastname) }}
  402. \t\t\t\t\t\t\t\t\t</div>
  403. \t\t\t\t\t\t\t\t</div>
  404. \t\t\t\t\t\t\t\t<div class=\"row\">
  405. \t\t\t\t\t\t\t\t\t{{ form_label(form.Phone, 'Phone', { 'label_attr': {'class': 'col-md-4 col-form-label text-md-right'} }) }}
  406. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  407. \t\t\t\t\t\t\t\t\t\t{{ form_widget(form.Phone) }}
  408. \t\t\t\t\t\t\t\t\t</div>
  409. \t\t\t\t\t\t\t\t</div>
  410. \t\t\t\t\t\t\t\t<div class=\"row\">
  411. \t\t\t\t\t\t\t\t\t{{ form_label(form.Password, 'password', { 'label_attr': {'class': 'col-md-4 col-form-label text-md-right'} }) }}
  412. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  413. \t\t\t\t\t\t\t\t\t\t{{ form_widget(form.Password) }}
  414. \t\t\t\t\t\t\t\t\t</div>
  415. \t\t\t\t\t\t\t\t</div>
  416. \t\t\t\t\t\t\t\t<div class=\"row\">
  417. \t\t\t\t\t\t\t\t\t{{ form_label(form.PasswordConfirm, 'PasswordConfirm', { 'label_attr': {'class': 'col-md-4 col-form-label text-md-right'} }) }}
  418. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  419. \t\t\t\t\t\t\t\t\t\t{{ form_widget(form.PasswordConfirm) }}
  420. \t\t\t\t\t\t\t\t\t</div>
  421. \t\t\t\t\t\t\t\t</div>
  422. \t\t\t\t\t\t\t\t<hr/>
  423. \t\t\t\t\t\t\t\t<h4 class=\"card-title text-center\">{{ 'company_details'|trans }}</h4>
  424. \t\t\t\t\t\t\t\t<div class=\"row\">
  425. \t\t\t\t\t\t\t\t\t{{ form_label(form.Company, 'company', { 'label_attr': {'class': 'col-md-4 col-form-label text-md-right'} }) }}
  426. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  427. \t\t\t\t\t\t\t\t\t\t{{ form_widget(form.Company) }}
  428. \t\t\t\t\t\t\t\t\t</div>
  429. \t\t\t\t\t\t\t\t</div>
  430. \t\t\t\t\t\t\t\t<div class=\"row\">
  431. \t\t\t\t\t\t\t\t\t{{ form_label(form.CompanyAddress, 'address', { 'label_attr': {'class': 'col-md-4 col-form-label text-md-right'} }) }}
  432. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  433. \t\t\t\t\t\t\t\t\t\t{{ form_widget(form.CompanyAddress) }}
  434. \t\t\t\t\t\t\t\t\t</div>
  435. \t\t\t\t\t\t\t\t</div>
  436. \t\t\t\t\t\t\t\t<div class=\"row\">
  437. \t\t\t\t\t\t\t\t\t{{ form_label(form.CompanyZip, 'zip', { 'label_attr': {'class': 'col-md-4 col-form-label text-md-right'} }) }}
  438. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  439. \t\t\t\t\t\t\t\t\t\t{{ form_widget(form.CompanyZip) }}
  440. \t\t\t\t\t\t\t\t\t</div>
  441. \t\t\t\t\t\t\t\t</div>
  442. \t\t\t\t\t\t\t\t<div class=\"row\">
  443. \t\t\t\t\t\t\t\t\t{{ form_label(form.CompanyCity, 'city', { 'label_attr': {'class': 'col-md-4 col-form-label text-md-right'} }) }}
  444. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  445. \t\t\t\t\t\t\t\t\t\t{{ form_widget(form.CompanyCity) }}
  446. \t\t\t\t\t\t\t\t\t</div>
  447. \t\t\t\t\t\t\t\t</div>
  448. \t\t\t\t\t\t\t\t<div class=\"row\">
  449. \t\t\t\t\t\t\t\t\t{{ form_label(form.CompanyPhone, 'phone', { 'label_attr': {'class': 'col-md-4 col-form-label text-md-right'} }) }}
  450. \t\t\t\t\t\t\t\t\t<div class=\"col-md-6\">
  451. \t\t\t\t\t\t\t\t\t\t{{ form_widget(form.CompanyPhone) }}
  452. \t\t\t\t\t\t\t\t\t</div>
  453. \t\t\t\t\t\t\t\t</div>
  454. \t\t\t\t\t\t\t\t<div class=\"col-md-6 offset-md-4 text-white\">
  455. \t\t\t\t\t\t\t\t\t{{ form_widget(form.Submit) }}
  456. \t\t\t\t\t\t\t\t\t<a href={{ path('app_login') }} class=\"btn btn-link\">
  457. \t\t\t\t\t\t\t\t\t\t{{ 'back_to_login'|trans }}
  458. \t\t\t\t\t\t\t\t\t</a>
  459. \t\t\t\t\t\t\t\t</div>
  460. \t\t\t\t\t\t\t\t{{ form_end(form) }}
  461. \t\t\t\t\t\t\t</div>
  462. \t\t\t\t\t\t</div>
  463. \t\t\t\t\t</div>
  464. \t\t\t\t</div>
  465. \t\t\t{% endif %}
  466. \t\t</div>
  467. \t</main>
  468. {% endblock %}
  469. {% block javascripts %}
  470. \t{{ parent() }}
  471. \t{{ encore_entry_script_tags('formValidation') }}
  472. {% endblock %}
  473. ""security/register_company.html.twig""/var/www/sulser.smt-web09b.swissmains.net/SMT_Sulser/sulser/templates/security/register_company.html.twig");
  474.     }
  475. }