var/cache/dev/twig/fb/fb9b73b328b05ec127c806176d8280d0.php line 39

  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. /* registration/registers.html.twig */
  16. class __TwigTemplate_fcdaeb05183433d64026e4c96bfa7bfc 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->parent = false;
  28.         $this->blocks = [
  29.             'html_start' => [$this, 'block_html_start'],
  30.         ];
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = []): iterable
  33.     {
  34.         $macros = $this->macros;
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "registration/registers.html.twig"));
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "registration/registers.html.twig"));
  39.         // line 1
  40.         yield "<!DOCTYPE html";
  41.         yield from $this->unwrap()->yieldBlock('html_start', $context, $blocks);
  42.         yield ">
  43. <html lang=\"";
  44.         // line 2
  45.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 2, $this->source); })()), "request", [], "any", false, false, false, 2), "locale", [], "any", false, false, false, 2), "html", null, true);
  46.         yield "\"";
  47.         if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 2, $this->source); })()), "request", [], "any", false, false, false, 2), "locale", [], "any", false, false, false, 2) == "ar")) {
  48.             yield " dir=\"rtl\"";
  49.         }
  50.         yield " >
  51. <head>
  52.     <title>";
  53.         // line 4
  54.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Register a new account", [], "TablerBundle"), "html", null, true);
  55.         yield "</title>
  56.     <meta charset=\"UTF-8\">
  57.     <title>CodePen - Bootstrap Multi-Step Form</title>
  58.     <meta charset=\"utf-8\">
  59.     <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  60.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
  61.     <link href=\"https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css\" rel=\"stylesheet\" integrity=\"sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC\" crossorigin=\"anonymous\">
  62.     <link rel=\"stylesheet\" href=\"https://cdn.rtlcss.com/bootstrap/v4.0.0/css/bootstrap.min.css\" integrity=\"sha384-P4uhUIGk/q1gaD/NdgkBIl3a6QywJjlsFJFk7SPRdruoGddvRVSwv5qFnvZ73cpz\" crossorigin=\"anonymous\">
  63.     <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.13/css/select2.min.css\">
  64.     <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css\">
  65.     ";
  66.         // line 15
  67.         if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 15, $this->source); })()), "request", [], "any", false, false, false, 15), "locale", [], "any", false, false, false, 15) == "ar")) {
  68.             // line 16
  69.             yield "        <link rel=\"stylesheet\" href=\"";
  70.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/wizard/style-rtl.css"), "html", null, true);
  71.             yield "\">
  72.     ";
  73.         } else {
  74.             // line 18
  75.             yield "        <link rel=\"stylesheet\" href=\"";
  76.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/wizard/style-rtl.css"), "html", null, true);
  77.             yield "\">
  78.         ";
  79.             // line 21
  80.             yield "    ";
  81.         }
  82.         // line 22
  83.         yield "
  84. </head>
  85. <body>
  86. <!-- partial:index.partial.html -->
  87. <!-- MultiStep Form -->
  88. <div class=\"container\">
  89. <div class=\"row justify-content-md-center\">
  90.     <div class=\"col-md-6 col-md-offset-3\">
  91.         ";
  92.         // line 32
  93.         $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.', 32, $this->source); })()), ["@Tabler/layout/form-theme-security.html.twig"], true);
  94.         // line 33
  95.         yield "        ";
  96.         // line 38
  97.         yield "            ";
  98.         if (((array_key_exists("error", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 38, $this->source); })()), false)) : (false))) {
  99.             // line 39
  100.             yield "                <div class=\"alert alert-important alert-danger\">";
  101.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(CoreExtension::getAttribute($this->env, $this->source, (isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 39, $this->source); })()), "messageKey", [], "any", false, false, false, 39), CoreExtension::getAttribute($this->env, $this->source, (isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 39, $this->source); })()), "messageData", [], "any", false, false, false, 39), "security"), "html", null, true);
  102.             yield "</div>
  103.             ";
  104.         }
  105.         // line 41
  106.         yield "
  107.         <div class=\"text-center mb-4\">
  108.             <h1>E-desk</h1>
  109.             <p>";
  110.         // line 44
  111.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Register a new account", [], "TablerBundle"), "html", null, true);
  112.         yield "</p>
  113.         </div>
  114.         ";
  115.         // line 46
  116.         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.', 46, $this->source); })()), 'form_start', ["attr" => ["id" => "msform", "class" => "security-registration"]]);
  117.         yield "
  118.             <!-- progressbar -->
  119.             <ul id=\"progressbar\">
  120.                 <li class=\"active\">";
  121.         // line 49
  122.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("lawoffice.info", [], "translation"), "html", null, true);
  123.         yield "</li>
  124.                 <li>";
  125.         // line 50
  126.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("user.info", [], "translation"), "html", null, true);
  127.         yield "</li>
  128.             </ul>
  129.             <!-- fieldsets -->
  130.             <fieldset id =\"lawoffice\">
  131.                 <h2 class=\"fs-title\">  <i class=\"fa fa-university fa-2x\"></i>  ";
  132.         // line 54
  133.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("lawoffice.info", [], "translation"), "html", null, true);
  134.         yield "</h2>
  135.                 <hr class=\"dashed\">
  136.                 <div class=\"mb-3\">
  137.                     ";
  138.         // line 57
  139.         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.', 57, $this->source); })()), "lawBarOffice", [], "any", false, false, false, 57), 'widget');
  140.         yield "
  141.                     ";
  142.         // line 58
  143.         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.', 58, $this->source); })()), "lawBarOffice", [], "any", false, false, false, 58), 'errors');
  144.         yield "
  145.                 </div>
  146.                 <div class=\"mb-3\">
  147.                     ";
  148.         // line 62
  149.         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.', 62, $this->source); })()), "prefix", [], "any", false, false, false, 62), 'widget');
  150.         yield "
  151.                     ";
  152.         // line 63
  153.         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.', 63, $this->source); })()), "prefix", [], "any", false, false, false, 63), 'errors');
  154.         yield "
  155.                 </div>
  156.                 <div class=\"mb-3\">
  157.                     ";
  158.         // line 66
  159.         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.', 66, $this->source); })()), "lawOfficeName", [], "any", false, false, false, 66), 'widget');
  160.         yield "
  161.                     ";
  162.         // line 67
  163.         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.', 67, $this->source); })()), "lawOfficeName", [], "any", false, false, false, 67), 'errors');
  164.         yield "
  165.                 </div>
  166.                 <div class=\"mb-3\">
  167.                     ";
  168.         // line 70
  169.         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.', 70, $this->source); })()), "officePhoneNumber", [], "any", false, false, false, 70), 'widget');
  170.         yield "
  171.                     ";
  172.         // line 71
  173.         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.', 71, $this->source); })()), "officePhoneNumber", [], "any", false, false, false, 71), 'errors');
  174.         yield "
  175.                 </div>
  176.                 <div class=\"mb-3\">
  177.                     ";
  178.         // line 74
  179.         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.', 74, $this->source); })()), "addressLine", [], "any", false, false, false, 74), 'widget');
  180.         yield "
  181.                     ";
  182.         // line 75
  183.         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.', 75, $this->source); })()), "addressLine", [], "any", false, false, false, 75), 'errors');
  184.         yield "
  185.                 </div>
  186.                 <input type=\"button\" class=\"next action-button\" value=\"";
  187.         // line 77
  188.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Next", [], "translation"), "html", null, true);
  189.         yield "\"/>
  190.             </fieldset>
  191.             <fieldset id =\"user\">
  192.                 <h2 class=\"fs-title\"><i class=\"fa fa-user fa-2x\"></i> ";
  193.         // line 80
  194.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("user.info", [], "translation"), "html", null, true);
  195.         yield "</h2>
  196.                 <hr class=\"dashed\">
  197.                 ";
  198.         // line 82
  199.         $context['_parent'] = $context;
  200.         $context['_seq'] = CoreExtension::ensureTraversable(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.', 82, $this->source); })()), "users", [], "any", false, false, false, 82));
  201.         foreach ($context['_seq'] as $context["_key"] => $context["user"]) {
  202.             // line 83
  203.             yield "                <div class=\"mb-3\">
  204.                         ";
  205.             // line 84
  206.             yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["user"], 'widget');
  207.             yield "
  208.                         ";
  209.             // line 85
  210.             yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["user"], 'errors');
  211.             yield "
  212.                 </div>
  213.                 ";
  214.         }
  215.         $_parent = $context['_parent'];
  216.         unset($context['_seq'], $context['_key'], $context['user'], $context['_parent']);
  217.         $context = array_intersect_key($context, $_parent) + $_parent;
  218.         // line 88
  219.         yield "                <input type=\"button\" name=\"previous\" class=\"previous action-button-previous\" value=\"";
  220.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Previous", [], "translation"), "html", null, true);
  221.         yield "\"/>
  222.                 ";
  223.         // line 89
  224.         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.', 89, $this->source); })()), "_token", [], "any", false, false, false, 89), 'row');
  225.         yield "
  226.                 <button class=\"submit action-button\">";
  227.         // line 90
  228.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Register", [], "TablerBundle"), "html", null, true);
  229.         yield "</button>
  230.             </fieldset>
  231.         </form>
  232.     </div>
  233.     <div class=\"text-center text-muted mt-3\">
  234.         <a href=\"";
  235.         // line 95
  236.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath($this->env->getRuntime('KevinPapst\TablerBundle\Twig\RuntimeExtension')->getRouteByAlias("app_login"));
  237.         yield "\">
  238.             ";
  239.         // line 96
  240.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Back to login", [], "TablerBundle"), "html", null, true);
  241.         yield "
  242.         </a>
  243.     </div>
  244. </div>
  245. </div>
  246. <!-- /.MultiStep Form -->
  247. <!-- partial -->
  248. <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
  249. <script src=\"https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js\" integrity=\"sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM\" crossorigin=\"anonymous\"></script>
  250. <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js'></script>
  251. <script  src=\"";
  252.         // line 106
  253.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("wizard/script.js"), "html", null, true);
  254.         yield "\"></script>
  255. <script src=\"https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.13/js/select2.min.js\"></script>
  256. ";
  257.         // line 127
  258.         yield "
  259. <!-- Footer -->
  260. <footer class=\"bg-light text-center text-lg-start\">
  261.     <!-- Copyright -->
  262.     <div class=\"text-center p-3\" style=\"background-color: rgba(0, 0, 0, 0.2);\">
  263.         © 2023 Copyright:
  264.         <a class=\"text-dark\" href=\"/\">E-Desk</a>
  265.     </div>
  266.     <!-- Copyright -->
  267. </footer>
  268. <!-- Footer -->
  269. </body>
  270. </html>
  271. ";
  272.         
  273.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  274.         
  275.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  276.         yield from [];
  277.     }
  278.     // line 1
  279.     /**
  280.      * @return iterable<null|scalar|\Stringable>
  281.      */
  282.     public function block_html_start(array $context, array $blocks = []): iterable
  283.     {
  284.         $macros = $this->macros;
  285.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  286.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "html_start"));
  287.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  288.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "html_start"));
  289.         
  290.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  291.         
  292.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  293.         yield from [];
  294.     }
  295.     /**
  296.      * @codeCoverageIgnore
  297.      */
  298.     public function getTemplateName(): string
  299.     {
  300.         return "registration/registers.html.twig";
  301.     }
  302.     /**
  303.      * @codeCoverageIgnore
  304.      */
  305.     public function isTraitable(): bool
  306.     {
  307.         return false;
  308.     }
  309.     /**
  310.      * @codeCoverageIgnore
  311.      */
  312.     public function getDebugInfo(): array
  313.     {
  314.         return array (  302 => 1,  273 => 127,  267 => 106,  254 => 96,  250 => 95,  242 => 90,  238 => 89,  233 => 88,  224 => 85,  220 => 84,  217 => 83,  213 => 82,  208 => 80,  202 => 77,  197 => 75,  193 => 74,  187 => 71,  183 => 70,  177 => 67,  173 => 66,  167 => 63,  163 => 62,  156 => 58,  152 => 57,  146 => 54,  139 => 50,  135 => 49,  129 => 46,  124 => 44,  119 => 41,  113 => 39,  110 => 38,  108 => 33,  106 => 32,  94 => 22,  91 => 21,  85 => 18,  79 => 16,  77 => 15,  63 => 4,  54 => 2,  49 => 1,);
  315.     }
  316.     public function getSourceContext(): Source
  317.     {
  318.         return new Source("<!DOCTYPE html{% block html_start %}{% endblock %}>
  319. <html lang=\"{{ app.request.locale }}\"{% if app.request.locale == 'ar' %} dir=\"rtl\"{% endif %} >
  320. <head>
  321.     <title>{{ 'Register a new account'|trans({}, 'TablerBundle') }}</title>
  322.     <meta charset=\"UTF-8\">
  323.     <title>CodePen - Bootstrap Multi-Step Form</title>
  324.     <meta charset=\"utf-8\">
  325.     <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
  326.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
  327.     <link href=\"https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css\" rel=\"stylesheet\" integrity=\"sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC\" crossorigin=\"anonymous\">
  328.     <link rel=\"stylesheet\" href=\"https://cdn.rtlcss.com/bootstrap/v4.0.0/css/bootstrap.min.css\" integrity=\"sha384-P4uhUIGk/q1gaD/NdgkBIl3a6QywJjlsFJFk7SPRdruoGddvRVSwv5qFnvZ73cpz\" crossorigin=\"anonymous\">
  329.     <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.13/css/select2.min.css\">
  330.     <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css\">
  331.     {% if app.request.locale == 'ar' %}
  332.         <link rel=\"stylesheet\" href=\"{{ asset('bundles/wizard/style-rtl.css') }}\">
  333.     {% else %}
  334.         <link rel=\"stylesheet\" href=\"{{ asset('bundles/wizard/style-rtl.css') }}\">
  335.         {#        <link rel=\"stylesheet\" href=\"{{ asset('bundles/wizard/style.css') }}\">#}
  336.     {% endif %}
  337. </head>
  338. <body>
  339. <!-- partial:index.partial.html -->
  340. <!-- MultiStep Form -->
  341. <div class=\"container\">
  342. <div class=\"row justify-content-md-center\">
  343.     <div class=\"col-md-6 col-md-offset-3\">
  344.         {% form_theme form '@Tabler/layout/form-theme-security.html.twig' %}
  345.         {#{% for locale in locales() %}
  346.             <a class=\"dropdown-item\" href=\"{{ path(app.request.get('_route'), app.request.get('_route_params')|merge({'_locale': locale})) }}\">
  347.                 {{ locale|language(app.request.get('_locale')) }}
  348.             </a>
  349.         {% endfor %}#}
  350.             {% if error|default(false) %}
  351.                 <div class=\"alert alert-important alert-danger\">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
  352.             {% endif %}
  353.         <div class=\"text-center mb-4\">
  354.             <h1>E-desk</h1>
  355.             <p>{{ 'Register a new account'|trans({}, 'TablerBundle') }}</p>
  356.         </div>
  357.         {{ form_start(form,{'attr': {'id': 'msform','class': 'security-registration'}}, {'method': 'post'}) }}
  358.             <!-- progressbar -->
  359.             <ul id=\"progressbar\">
  360.                 <li class=\"active\">{{ 'lawoffice.info'|trans({}, 'translation') }}</li>
  361.                 <li>{{ 'user.info'|trans({}, 'translation') }}</li>
  362.             </ul>
  363.             <!-- fieldsets -->
  364.             <fieldset id =\"lawoffice\">
  365.                 <h2 class=\"fs-title\">  <i class=\"fa fa-university fa-2x\"></i>  {{ 'lawoffice.info'|trans({}, 'translation') }}</h2>
  366.                 <hr class=\"dashed\">
  367.                 <div class=\"mb-3\">
  368.                     {{ form_widget(form.lawBarOffice) }}
  369.                     {{ form_errors(form.lawBarOffice) }}
  370.                 </div>
  371.                 <div class=\"mb-3\">
  372.                     {{ form_widget(form.prefix) }}
  373.                     {{ form_errors(form.prefix) }}
  374.                 </div>
  375.                 <div class=\"mb-3\">
  376.                     {{ form_widget(form.lawOfficeName) }}
  377.                     {{ form_errors(form.lawOfficeName) }}
  378.                 </div>
  379.                 <div class=\"mb-3\">
  380.                     {{ form_widget(form.officePhoneNumber) }}
  381.                     {{ form_errors(form.officePhoneNumber) }}
  382.                 </div>
  383.                 <div class=\"mb-3\">
  384.                     {{ form_widget(form.addressLine) }}
  385.                     {{ form_errors(form.addressLine) }}
  386.                 </div>
  387.                 <input type=\"button\" class=\"next action-button\" value=\"{{ 'Next'|trans({}, 'translation') }}\"/>
  388.             </fieldset>
  389.             <fieldset id =\"user\">
  390.                 <h2 class=\"fs-title\"><i class=\"fa fa-user fa-2x\"></i> {{ 'user.info'|trans({}, 'translation') }}</h2>
  391.                 <hr class=\"dashed\">
  392.                 {% for user in form.users %}
  393.                 <div class=\"mb-3\">
  394.                         {{ form_widget(user) }}
  395.                         {{ form_errors(user) }}
  396.                 </div>
  397.                 {% endfor %}
  398.                 <input type=\"button\" name=\"previous\" class=\"previous action-button-previous\" value=\"{{ 'Previous'|trans({}, 'translation') }}\"/>
  399.                 {{ form_row(form._token) }}
  400.                 <button class=\"submit action-button\">{{ 'Register'|trans({}, 'TablerBundle') }}</button>
  401.             </fieldset>
  402.         </form>
  403.     </div>
  404.     <div class=\"text-center text-muted mt-3\">
  405.         <a href=\"{{ path('app_login'|tabler_route) }}\">
  406.             {{ 'Back to login'|trans({}, 'TablerBundle') }}
  407.         </a>
  408.     </div>
  409. </div>
  410. </div>
  411. <!-- /.MultiStep Form -->
  412. <!-- partial -->
  413. <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
  414. <script src=\"https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js\" integrity=\"sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM\" crossorigin=\"anonymous\"></script>
  415. <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js'></script>
  416. <script  src=\"{{ asset('wizard/script.js') }}\"></script>
  417. <script src=\"https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.13/js/select2.min.js\"></script>
  418. {#
  419. <script type=\"text/javascript\">
  420.     \$(function () {
  421.         \$('.select2').select2({
  422.             width: 'resolve',
  423.             theme: \"classic\"
  424.         });
  425.     });
  426.     var loadFile = function(event) {
  427.         var output = document.getElementById('avatar');
  428.         output.src = URL.createObjectURL(event.target.files[0]);
  429.         output.onload = function() {
  430.             URL.revokeObjectURL(output.src) // free memory
  431.         }
  432.     };
  433. </script>
  434. #}
  435. <!-- Footer -->
  436. <footer class=\"bg-light text-center text-lg-start\">
  437.     <!-- Copyright -->
  438.     <div class=\"text-center p-3\" style=\"background-color: rgba(0, 0, 0, 0.2);\">
  439.         © 2023 Copyright:
  440.         <a class=\"text-dark\" href=\"/\">E-Desk</a>
  441.     </div>
  442.     <!-- Copyright -->
  443. </footer>
  444. <!-- Footer -->
  445. </body>
  446. </html>
  447. ", "registration/registers.html.twig", "/home/ceka7885/cabinet.khalfi.ma/templates/registration/registers.html.twig");
  448.     }
  449. }