var/cache/dev/twig/0f/0f6c8c26f011358f0c750abbeb770c30012957eb82d428c2b83066327f069b66.php line 39

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. /* registration/register.html.twig */
  14. class __TwigTemplate_e919cee54b15d71b6496ff042f5055a01029003e18ea7e4e64cd41cfce743aea 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.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "base.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""registration/register.html.twig"));
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""registration/register.html.twig"));
  39.         // line 2
  40.         $context["page"] = "register";
  41.         // line 1
  42.         $this->parent $this->loadTemplate("base.html.twig""registration/register.html.twig"1);
  43.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  46.         
  47.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  48.     }
  49.     // line 4
  50.     public function block_title($context, array $blocks = [])
  51.     {
  52.         $macros $this->macros;
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  54.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  57.         echo "Register";
  58.         
  59.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  60.         
  61.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  62.     }
  63.     // line 6
  64.     public function block_body($context, array $blocks = [])
  65.     {
  66.         $macros $this->macros;
  67.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  68.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  69.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  70.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  71.         // line 7
  72.         echo "    ";
  73.         $context['_parent'] = $context;
  74.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'7$this->source); })()), "flashes", [=> "verify_email_error"], "method"falsefalsefalse7));
  75.         foreach ($context['_seq'] as $context["_key"] => $context["flashError"]) {
  76.             // line 8
  77.             echo "        <div class=\"alert alert-danger\" role=\"alert\">";
  78.             echo twig_escape_filter($this->env$context["flashError"], "html"nulltrue);
  79.             echo "</div>
  80.     ";
  81.         }
  82.         $_parent $context['_parent'];
  83.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['flashError'], $context['_parent'], $context['loop']);
  84.         $context array_intersect_key($context$_parent) + $_parent;
  85.         // line 10
  86.         echo "
  87.        <!--KODE SAB BANNER WRAP START-->
  88.     <div class=\"kode_sab_banner_wrap them_overlay\">
  89.         <!--CONTAINER START-->
  90.         <div class=\"container\">
  91.             <div class=\"sab_banner_text\">
  92.                 <h2>";
  93.         // line 16
  94.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Sign up"), "html"nulltrue);
  95.         echo "</h2>
  96.                 <ul class=\"breadcrumbs\">
  97.                     <li><a href=\"";
  98.         // line 18
  99.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_front_main_index");
  100.         echo "\"><i class=\"fa fa-home\"></i></a></li>
  101.                     <li><strong>";
  102.         // line 19
  103.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Sign up"), "html"nulltrue);
  104.         echo "</strong></li>
  105.                 </ul>
  106.             </div>
  107.         </div>
  108.         <!--CONTAINER END-->
  109.     </div>
  110.     <div class=\"kode_contact_des\">
  111.         <div class=\"container\">
  112.             <div class=\"row\">
  113.                 <div class=\"kode_contact_field\">
  114.                     <div class=\"section_hdg hdg_2 hdg_3\">
  115.                         <a href=\"#\"><img src=\"";
  116.         // line 30
  117.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/hdg-img.png"), "html"nulltrue);
  118.         echo "\" alt=\"hdg\"></a>
  119.                         <h1>";
  120.         // line 31
  121.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Sign up"), "html"nulltrue);
  122.         echo "</h1>
  123.                         <span><i class=\"fa icon-art\"></i></span>
  124.                     </div>
  125.                     ";
  126.         // line 34
  127.         echo         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["registrationForm"]) || array_key_exists("registrationForm"$context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.'34$this->source); })()), 'form_start');
  128.         echo "
  129.                         ";
  130.         // line 35
  131.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm"$context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.'35$this->source); })()), "email", [], "any"falsefalsefalse35), 'row');
  132.         echo "
  133.                         ";
  134.         // line 36
  135.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm"$context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.'36$this->source); })()), "plainPassword", [], "any"falsefalsefalse36), 'row', ["label" => "Password"]);
  136.         // line 38
  137.         echo "
  138.                         ";
  139.         // line 39
  140.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["registrationForm"]) || array_key_exists("registrationForm"$context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.'39$this->source); })()), "agreeTerms", [], "any"falsefalsefalse39), 'row');
  141.         echo "
  142.                         <button type=\"submit\" class=\"btn\">Register</button>
  143.                     ";
  144.         // line 42
  145.         echo         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["registrationForm"]) || array_key_exists("registrationForm"$context) ? $context["registrationForm"] : (function () { throw new RuntimeError('Variable "registrationForm" does not exist.'42$this->source); })()), 'form_end');
  146.         echo "
  147.                 </div>
  148.             </div>
  149.             <div class=\"row\">
  150.                   <a href=\"";
  151.         // line 46
  152.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
  153.         echo "\">or  SIGN IN </a>
  154.             </div>
  155.         </div>
  156.         <!--CONTAINER END-->
  157.     </div>
  158.     <!--KODE CONTACT DES END-->
  159. </div>
  160. <!--KODE 404 WRAP END-->
  161. ";
  162.         
  163.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  164.         
  165.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  166.     }
  167.     public function getTemplateName()
  168.     {
  169.         return "registration/register.html.twig";
  170.     }
  171.     public function isTraitable()
  172.     {
  173.         return false;
  174.     }
  175.     public function getDebugInfo()
  176.     {
  177.         return array (  172 => 46,  165 => 42,  159 => 39,  156 => 38,  154 => 36,  150 => 35,  146 => 34,  140 => 31,  136 => 30,  122 => 19,  118 => 18,  113 => 16,  105 => 10,  96 => 8,  91 => 7,  81 => 6,  62 => 4,  51 => 1,  49 => 2,  36 => 1,);
  178.     }
  179.     public function getSourceContext()
  180.     {
  181.         return new Source("{% extends 'base.html.twig' %}
  182. {% set page = \"register\" %}
  183. {% block title %}Register{% endblock %}
  184. {% block body %}
  185.     {% for flashError in app.flashes('verify_email_error') %}
  186.         <div class=\"alert alert-danger\" role=\"alert\">{{ flashError }}</div>
  187.     {% endfor %}
  188.        <!--KODE SAB BANNER WRAP START-->
  189.     <div class=\"kode_sab_banner_wrap them_overlay\">
  190.         <!--CONTAINER START-->
  191.         <div class=\"container\">
  192.             <div class=\"sab_banner_text\">
  193.                 <h2>{{ 'Sign up'|trans }}</h2>
  194.                 <ul class=\"breadcrumbs\">
  195.                     <li><a href=\"{{ path('app_front_main_index') }}\"><i class=\"fa fa-home\"></i></a></li>
  196.                     <li><strong>{{ 'Sign up'|trans }}</strong></li>
  197.                 </ul>
  198.             </div>
  199.         </div>
  200.         <!--CONTAINER END-->
  201.     </div>
  202.     <div class=\"kode_contact_des\">
  203.         <div class=\"container\">
  204.             <div class=\"row\">
  205.                 <div class=\"kode_contact_field\">
  206.                     <div class=\"section_hdg hdg_2 hdg_3\">
  207.                         <a href=\"#\"><img src=\"{{asset('images/hdg-img.png')}}\" alt=\"hdg\"></a>
  208.                         <h1>{{ 'Sign up'|trans }}</h1>
  209.                         <span><i class=\"fa icon-art\"></i></span>
  210.                     </div>
  211.                     {{ form_start(registrationForm) }}
  212.                         {{ form_row(registrationForm.email) }}
  213.                         {{ form_row(registrationForm.plainPassword, {
  214.                             label: 'Password'
  215.                         }) }}
  216.                         {{ form_row(registrationForm.agreeTerms) }}
  217.                         <button type=\"submit\" class=\"btn\">Register</button>
  218.                     {{ form_end(registrationForm) }}
  219.                 </div>
  220.             </div>
  221.             <div class=\"row\">
  222.                   <a href=\"{{path('app_login')}}\">or  SIGN IN </a>
  223.             </div>
  224.         </div>
  225.         <!--CONTAINER END-->
  226.     </div>
  227.     <!--KODE CONTACT DES END-->
  228. </div>
  229. <!--KODE 404 WRAP END-->
  230. {% endblock %}
  231. ""registration/register.html.twig""/var/www/sharjah/templates/registration/register.html.twig");
  232.     }
  233. }