<?php

/* security/registrar.html.twig */
class __TwigTemplate_4710699daec9c67f882dc2c01069f95fcb2fdf0ec2eddb4d873f3a491fd267f8 extends Twig_Template
{
    private $source;

    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        // line 2
        $this->parent = $this->loadTemplate("base.html.twig", "security/registrar.html.twig", 2);
        $this->blocks = array(
            'preloader' => array($this, 'block_preloader'),
            'title' => array($this, 'block_title'),
            'body' => array($this, 'block_body'),
        );
    }

    protected function doGetParent(array $context)
    {
        return "base.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }

    // line 5
    public function block_preloader($context, array $blocks = array())
    {
    }

    // line 7
    public function block_title($context, array $blocks = array())
    {
        echo "Registro de Usuario";
    }

    // line 10
    public function block_body($context, array $blocks = array())
    {
        // line 11
        echo "
    <div class=\"container mb-5 pb-5\">

        ";
        // line 14
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "flashes", array()));
        foreach ($context['_seq'] as $context["label"] => $context["messages"]) {
            // line 15
            echo "            ";
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($context["messages"]);
            foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
                // line 16
                echo "                <div class=\"flash-alerta alert alert-";
                echo twig_escape_filter($this->env, $context["label"], "html", null, true);
                echo " mt-5\" role=\"alert\">
                    ";
                // line 17
                echo twig_escape_filter($this->env, $context["message"], "html", null, true);
                echo "
                </div>
            ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 20
            echo "        ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['label'], $context['messages'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 21
        echo "
        <form method=\"post\" action=\"";
        // line 22
        echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("usuario_registrar");
        echo "\">

            ";
        // line 24
        echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "_token", array()), 'row');
        echo " 

            <h4 class=\"mb-3 mt-5\">Datos de acceso</h4>

            <div class=\"row\">
                <div class=\"col-md-12\">

                    <div class=\"row\">

                        <div class=\"mb-3 col-md-6\">
                            ";
        // line 34
        echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "username", array()), 'label', array("label" => "Usuario"));
        echo "
                            ";
        // line 35
        echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "username", array()), 'widget', array("attr" => array("placeholder" => "Nombre de usuario")));
        echo "
                            ";
        // line 36
        echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "username", array()), 'errors');
        echo "
                        </div>

                        <div class=\"mb-3 col-md-6\">
                            ";
        // line 40
        echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "email", array()), 'label', array("label" => "Correo electronico"));
        echo "
                            ";
        // line 41
        echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "email", array()), 'widget', array("attr" => array("placeholder" => "Correo electronico")));
        echo "
                            ";
        // line 42
        echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "email", array()), 'errors');
        echo "

                        </div>

                        <div class=\"mb-3 col-md-6\">
                            ";
        // line 47
        echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "plainPassword", array()), "first", array()), 'label', array("label" => "Contraseña"));
        echo "
                            ";
        // line 48
        echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "plainPassword", array()), "first", array()), 'widget', array("attr" => array("placeholder" => "Contraseña")));
        echo "
                            ";
        // line 49
        echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "plainPassword", array()), "first", array()), 'errors');
        echo "
                        </div>

                        <div class=\"mb-3 col-md-6\">
                            ";
        // line 53
        echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "plainPassword", array()), "second", array()), 'label', array("label" => "Repetir Contraseña"));
        echo "
                            ";
        // line 54
        echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "plainPassword", array()), "second", array()), 'widget', array("attr" => array("placeholder" => "Repetir Contraseña")));
        echo "
                            ";
        // line 55
        echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "plainPassword", array()), "second", array()), 'errors');
        echo "
                        </div>
                    </div>

                </div>
            </div>

            <h4 class=\"mb-3 mt-3\">Datos personales</h4>

            <div class=\"row\">
                <div class=\"col-md-12\">

                    <div class=\"row\">
                        <div class=\"mb-3 col-md-12\">
                            ";
        // line 69
        echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "persona", array()), "nombre", array()), 'label', array("label" => "Razon social"));
        echo "
                            ";
        // line 70
        echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "persona", array()), "nombre", array()), 'widget', array("attr" => array("placeholder" => "Razon social")));
        echo "
                            ";
        // line 71
        echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "persona", array()), "nombre", array()), 'errors');
        echo "
                        </div>
                    </div>

                    <div class=\"row\">
                        <div class=\"mb-3 col-md-6\">
                            ";
        // line 77
        echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "persona", array()), "dni", array()), 'label', array("label" => "RUT"));
        echo "
                            ";
        // line 78
        echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "persona", array()), "dni", array()), 'widget', array("attr" => array("placeholder" => "RUT")));
        echo "
                            ";
        // line 79
        echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "persona", array()), "dni", array()), 'errors');
        echo "
                        </div>

                        <div class=\"mb-3 col-md-6\">
                            ";
        // line 83
        echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "persona", array()), "telefono", array()), 'label', array("label" => "Telefono"));
        echo "
                            ";
        // line 84
        echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "persona", array()), "telefono", array()), 'widget', array("attr" => array("placeholder" => "Telefono")));
        echo "
                            ";
        // line 85
        echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "persona", array()), "telefono", array()), 'errors');
        echo "
                        </div>

                        <div class=\"mb-3 col-md-12\">
                            ";
        // line 89
        echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "persona", array()), "direccion", array()), 'label', array("label" => "Dirección"));
        echo "
                            ";
        // line 90
        echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "persona", array()), "direccion", array()), 'widget', array("attr" => array("placeholder" => "Dirección")));
        echo "
                            ";
        // line 91
        echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "persona", array()), "direccion", array()), 'errors');
        echo "
                        </div>

                        <div class=\"mb-3 col-md-6\">
                            ";
        // line 95
        echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "persona", array()), "ciudad", array()), 'label', array("label" => "Ciudad"));
        echo "
                            ";
        // line 96
        echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "persona", array()), "ciudad", array()), 'widget', array("attr" => array("placeholder" => "Ciudad")));
        echo "
                            ";
        // line 97
        echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "persona", array()), "ciudad", array()), 'errors');
        echo "
                        </div>

                        <div class=\"mb-3 col-md-6\">
                            ";
        // line 101
        echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "persona", array()), "pais", array()), 'label', array("label" => "Pais"));
        echo "
                            ";
        // line 102
        echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "persona", array()), "pais", array()), 'widget', array("attr" => array("placeholder" => "Pais")));
        echo "
                            ";
        // line 103
        echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "persona", array()), "pais", array()), 'errors');
        echo "
                        </div>

                    </div>


                </div>
            </div>

            <button class=\"btn btn-primary\" type=\"submit\">Guardar</button>

        </form>

    </div>

";
    }

    public function getTemplateName()
    {
        return "security/registrar.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  259 => 103,  255 => 102,  251 => 101,  244 => 97,  240 => 96,  236 => 95,  229 => 91,  225 => 90,  221 => 89,  214 => 85,  210 => 84,  206 => 83,  199 => 79,  195 => 78,  191 => 77,  182 => 71,  178 => 70,  174 => 69,  157 => 55,  153 => 54,  149 => 53,  142 => 49,  138 => 48,  134 => 47,  126 => 42,  122 => 41,  118 => 40,  111 => 36,  107 => 35,  103 => 34,  90 => 24,  85 => 22,  82 => 21,  76 => 20,  67 => 17,  62 => 16,  57 => 15,  53 => 14,  48 => 11,  45 => 10,  39 => 7,  34 => 5,  15 => 2,);
    }

    public function getSourceContext()
    {
        return new Twig_Source("", "security/registrar.html.twig", "/home/netnexo2cl/public_html/netnexo/templates/security/registrar.html.twig");
    }
}
