<?php

/* FishmanEntityBundle:Headquarter:new.html.twig */
class __TwigTemplate_7bb6e9294699cd95cc738313e599cd7a extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = $this->env->loadTemplate("::base_fishman.html.twig");

        $this->blocks = array(
            'subtitle' => array($this, 'block_subtitle'),
            'top_navigation' => array($this, 'block_top_navigation'),
            'navigation' => array($this, 'block_navigation'),
            'breadcrumb' => array($this, 'block_breadcrumb'),
            'subtitle2' => array($this, 'block_subtitle2'),
            'content' => array($this, 'block_content'),
            '__internal_e9dd843fb776230660d29b5b778d956faa20fca0' => array($this, 'block___internal_e9dd843fb776230660d29b5b778d956faa20fca0'),
            'javascripts' => array($this, 'block_javascripts'),
        );
    }

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

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

    // line 3
    public function block_subtitle($context, array $blocks = array())
    {
        echo "<span class=\"icon-screen\"></span>mantenimientos";
    }

    // line 5
    public function block_top_navigation($context, array $blocks = array())
    {
        // line 6
        $this->env->loadTemplate("FishmanFrontEndBundle:Dashboard:navigation.html.twig")->display(array_merge($context, array("navigation" => "admin")));
    }

    // line 9
    public function block_navigation($context, array $blocks = array())
    {
        // line 10
        $this->env->loadTemplate("FishmanFrontEndBundle:Dashboard:navigation.html.twig")->display(array_merge($context, array("navigation" => "admin")));
    }

    // line 13
    public function block_breadcrumb($context, array $blocks = array())
    {
        // line 14
        echo "<ul id=\"breadcrumbs\" class=\"breadcrumbs\">
    <li><a href=\"";
        // line 15
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("fishman_front_end_homepage"), "html", null, true);
        echo "\">Dashboard</a></li>
    <li><a href=\"";
        // line 16
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("company"), "html", null, true);
        echo "\">Empresas</a></li>
    <li><a href=\"";
        // line 17
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("company_show", array("id" => $this->getAttribute((isset($context["company"]) ? $context["company"] : null), "id"))), "html", null, true);
        echo "\">";
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["company"]) ? $context["company"] : null), "name"), "html", null, true);
        echo "</a></li>
    <li><a href=\"";
        // line 18
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("headquarter", array("companyid" => $this->getAttribute((isset($context["company"]) ? $context["company"] : null), "id"))), "html", null, true);
        echo "\">Sedes</a></li>
    <li class=\"current\"><a href=\"";
        // line 19
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("headquarter_new", array("companyid" => $this->getAttribute((isset($context["company"]) ? $context["company"] : null), "id"))), "html", null, true);
        echo "\">Crear</a></li>
</ul>
";
    }

    // line 23
    public function block_subtitle2($context, array $blocks = array())
    {
        // line 24
        echo "<span class=\"icos-users2\"></span><h5>Mantenimiento de Empresas: ";
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["company"]) ? $context["company"] : null), "name"), "html", null, true);
        echo "</h5>
";
    }

    // line 27
    public function block_content($context, array $blocks = array())
    {
        // line 28
        $this->displayParentBlock("content", $context, $blocks);
        echo "

<div class=\"formCrudCreate\">

    <form action=\"";
        // line 32
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("headquarter_create", array("companyid" => $this->getAttribute((isset($context["company"]) ? $context["company"] : null), "id"))), "html", null, true);
        echo "\" method=\"post\" ";
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["form"]) ? $context["form"] : null), 'enctype');
        echo " class=\"crud main formControl\">
    
        <div class=\"widget fluid tableDefault clearfix\">
        
            <div class=\"whead clearfix\">
                <h6>";
        // line 37
        echo twig_escape_filter($this->env, twig_upper_filter($this->env, (string) $this->renderBlock("__internal_e9dd843fb776230660d29b5b778d956faa20fca0", $context, $blocks)), "html", null, true);
        echo "</h6>
            </div>
                
            <fieldset class=\"step ui-formwizard-content clearfix\" id=\"w1first\" style=\"display: block;\">

                <div class=\"grid7\">
                    ";
        // line 43
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["form"]) ? $context["form"] : null), 'errors');
        echo "
                    <div class=\"formRow clearfix\">
                        <div class=\"grid3\">";
        // line 45
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "code"), 'label', array("label" => "Código"));
        echo "<span class=\"req\">*</span></div>
                        <div class=\"grid9\">
                            ";
        // line 47
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "code"), 'widget');
        echo "
                            ";
        // line 48
        if ($this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "code"), 'errors')) {
            // line 49
            echo "                                <div class=\"nNote nFailure nFieldFailure\">";
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "code"), 'errors');
            echo "</div>
                            ";
        }
        // line 51
        echo "                        </div>
                    </div>
                    <div class=\"formRow clearfix\">
                        <div class=\"grid3\">";
        // line 54
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "name"), 'label', array("label" => "Nombre"));
        echo "<span class=\"req\">*</span></div>
                        <div class=\"grid9\">
                            ";
        // line 56
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "name"), 'widget');
        echo "
                            ";
        // line 57
        if ($this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "name"), 'errors')) {
            // line 58
            echo "                                <div class=\"nNote nFailure nFieldFailure\">";
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "name"), 'errors');
            echo "</div>
                            ";
        }
        // line 60
        echo "                        </div>
                    </div>
                    <div class=\"formRow formTwoField clearfix\">
                        <div class=\"grid3\"><label>Dirección</label><span class=\"req\">*</span></div>
                        <div class=\"grid9\">
                            <div class=\"grid4 formVia\">
                                ";
        // line 66
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "via"), 'widget', array("empty_value" => "SELECCIONE"));
        echo "
                                ";
        // line 67
        if ($this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "via"), 'errors')) {
            // line 68
            echo "                                    <div class=\"nNote nFailure nFieldFailure\">";
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "via"), 'errors');
            echo "</div>
                                ";
        }
        // line 70
        echo "                            </div>
                            <div class=\"grid8 formAddress\">
                                ";
        // line 72
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "address"), 'widget');
        echo "
                                ";
        // line 73
        if ($this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "address"), 'errors')) {
            // line 74
            echo "                                    <div class=\"nNote nFailure nFieldFailure\">";
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "address"), 'errors');
            echo "</div>
                                ";
        }
        // line 76
        echo "                            </div>
                        </div>
                    </div>
                    <div class=\"formRow clearfix\">
                        <div class=\"grid3\">";
        // line 80
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "urbanization"), 'label', array("label" => "Urbanización"));
        echo "</div>
                        <div class=\"grid9\">
                            ";
        // line 82
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "urbanization"), 'widget');
        echo "
                            ";
        // line 83
        if ($this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "urbanization"), 'errors')) {
            // line 84
            echo "                                <div class=\"nNote nFailure nFieldFailure\">";
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "urbanization"), 'errors');
            echo "</div>
                            ";
        }
        // line 86
        echo "                        </div>
                    </div>
                    <div class=\"formRow clearfix\">
                        <div class=\"grid3\">";
        // line 89
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "country"), 'label', array("label" => "País"));
        echo "<span class=\"req\">*</span></div>
                        <div class=\"grid9\">
                            ";
        // line 91
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "country"), 'widget', array("empty_value" => "SELECCIONE UNA OPCIÓN", "attr" => array("class" => "countryselect")));
        echo "
                            ";
        // line 92
        if ($this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "country"), 'errors')) {
            // line 93
            echo "                                <div class=\"nNote nFailure nFieldFailure\">";
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "country"), 'errors');
            echo "</div>
                            ";
        }
        // line 95
        echo "                        </div>
                    </div>
                    <div class=\"formRow ";
        // line 97
        echo " formDepartment clearfix\">
                        <div class=\"grid3\"><label for=\"ubigeo_department\" class=\"required\">Departamento</label><span class=\"req\">*</span></div>
                        <div class=\"grid9 select_department\">
                           ";
        // line 100
        echo (isset($context["selectDepartment"]) ? $context["selectDepartment"] : null);
        echo "
                        </div>
                    </div>
                    <div class=\"formRow ";
        // line 103
        echo " formProvince clearfix\">
                        <div class=\"grid3\"><label for=\"ubigeo_province\" class=\"required\">Provincia</label><span class=\"req\">*</span></div>
                        <div class=\"grid9 select_province\">
                           ";
        // line 106
        echo (isset($context["selectProvince"]) ? $context["selectProvince"] : null);
        echo "
                        </div>
                    </div>
                    <div class=\"formRow ";
        // line 109
        echo " formDistrict clearfix\">
                        <div class=\"grid3\"><label for=\"ubigeo_district\" class=\"required\">Distrito</label><span class=\"req\">*</span></div>
                        <div class=\"grid9 select_district\">
                           ";
        // line 112
        echo (isset($context["selectDistrict"]) ? $context["selectDistrict"] : null);
        echo "
                        </div>
                    </div>
                    <div class=\"formRow formActiveOff formCity clearfix\">
                        <div class=\"grid3\">";
        // line 116
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "city"), 'label', array("label" => "Ciudad"));
        echo "<span class=\"req\">*</span></div>
                        <div class=\"grid9\">
                            ";
        // line 118
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "city"), 'widget');
        echo "
                            ";
        // line 119
        if ($this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "city"), 'errors')) {
            // line 120
            echo "                                <div class=\"nNote nFailure nFieldFailure\">";
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "city"), 'errors');
            echo "</div>
                            ";
        }
        // line 122
        echo "                        </div>
                    </div>
                    <div class=\"formRow clearfix\">
                        <div class=\"grid3\">";
        // line 125
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "phone_station"), 'label', array("label" => "Central Telefónica"));
        echo "</div>
                        <div class=\"grid3\">
                            ";
        // line 127
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "phone_station"), 'widget');
        echo "
                            ";
        // line 128
        if ($this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "phone_station"), 'errors')) {
            // line 129
            echo "                                <div class=\"nNote nFailure nFieldFailure\">";
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "phone_station"), 'errors');
            echo "</div>
                            ";
        }
        // line 131
        echo "                        </div>
                    </div>
                    <div class=\"formRow clearfix\">
                        <div class=\"grid3\">";
        // line 134
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "status"), 'label', array("label" => "Estado"));
        echo "<span class=\"req\">*</span></div>
                        <div class=\"grid9\">
                            ";
        // line 136
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "status"), 'widget', array("empty_value" => "SELECCIONE UNA OPCIÓN", "value" => "1"));
        echo "
                            ";
        // line 137
        if ($this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "status"), 'errors')) {
            // line 138
            echo "                                <div class=\"nNote nFailure nFieldFailure\">";
            echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "status"), 'errors');
            echo "</div>
                            ";
        }
        // line 140
        echo "                        </div>
                    </div>
                    <div class=\"hide\">
                        ";
        // line 143
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "department"), 'widget', array("attr" => array("class" => "departmentvalue")));
        echo "
                        ";
        // line 144
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "province"), 'widget', array("attr" => array("class" => "provincevalue")));
        echo "
                        ";
        // line 145
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "district"), 'widget', array("attr" => array("class" => "districtvalue")));
        echo "
                        ";
        // line 146
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["form"]) ? $context["form"] : null), 'rest');
        echo "
                    </div>
                </div>
                
                <div class=\"grid4 audit\">
                    <div class=\"widget\">
                        <div class=\"whead clearfix\">
                            <h6>Auditoría</h6>
                        </div>
                        <table class=\"audit_list dataTable\">
                            <tbody>
                                <tr>
                                    <th class=\"textL\">Id</th>
                                      <td></td>
                                </tr>
                                <tr>
                                    <th class=\"textL\">Creado por</th>
                                      <td></td>
                                </tr>
                                <tr>
                                    <th class=\"textL\">Creado el</th>
                                    <td></td>
                                </tr>
                                <tr>
                                    <th class=\"textL\">Modificado por</th>
                                      <td></td>
                                </tr>
                                <tr>
                                    <th class=\"textL\">Última modificación</th>
                                    <td></td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
                
            </fieldset>
            
        </div>
        <!-- /.tableDefault -->
        
        <div class=\"menuCrud clearfix\">
            <ul class=\"record_actions\">
                <li>
                    <a href=\"";
        // line 190
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("headquarter", array("companyid" => $this->getAttribute((isset($context["company"]) ? $context["company"] : null), "id"))), "html", null, true);
        echo "\" class=\"sideB bGreyish mt10\">
                        Regresar a la lista
                    </a>
                </li>
                <li>
                    <button type=\"submit\" class=\"sideB bRed mt10\">Guardar</button>
                </li>
            </ul>
        </div>
        <!-- /.menuCrud -->
                
    </form>
    
</div>
<!-- /.formCrudCreate -->

";
    }

    // line 37
    public function block___internal_e9dd843fb776230660d29b5b778d956faa20fca0($context, array $blocks = array())
    {
        echo "Crear Sede";
    }

    // line 208
    public function block_javascripts($context, array $blocks = array())
    {
        // line 209
        $this->displayParentBlock("javascripts", $context, $blocks);
        echo "
<script type=\"text/javascript\" src=\"";
        // line 210
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("js/custom_validate.js"), "html", null, true);
        echo "\"></script>
<script type=\"text/javascript\" src=\"";
        // line 211
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("js/custom_fischman.js"), "html", null, true);
        echo "\"></script>
";
        // line 212
        echo (isset($context["globaljavascript"]) ? $context["globaljavascript"] : null);
        echo "
<script type=\"text/javascript\" src=\"";
        // line 213
        echo twig_escape_filter($this->env, $this->env->getExtension('assets')->getAssetUrl("js/ubigeo_ajax.js"), "html", null, true);
        echo "\"></script>
";
    }

    public function getTemplateName()
    {
        return "FishmanEntityBundle:Headquarter:new.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  457 => 213,  453 => 212,  449 => 211,  445 => 210,  441 => 209,  438 => 208,  432 => 37,  411 => 190,  364 => 146,  360 => 145,  356 => 144,  352 => 143,  347 => 140,  341 => 138,  339 => 137,  335 => 136,  330 => 134,  325 => 131,  319 => 129,  317 => 128,  313 => 127,  308 => 125,  303 => 122,  297 => 120,  295 => 119,  291 => 118,  286 => 116,  279 => 112,  274 => 109,  268 => 106,  263 => 103,  257 => 100,  252 => 97,  248 => 95,  242 => 93,  240 => 92,  236 => 91,  231 => 89,  226 => 86,  220 => 84,  218 => 83,  214 => 82,  209 => 80,  203 => 76,  197 => 74,  195 => 73,  191 => 72,  187 => 70,  181 => 68,  179 => 67,  175 => 66,  167 => 60,  161 => 58,  159 => 57,  155 => 56,  150 => 54,  145 => 51,  139 => 49,  137 => 48,  133 => 47,  128 => 45,  123 => 43,  114 => 37,  104 => 32,  97 => 28,  94 => 27,  87 => 24,  84 => 23,  77 => 19,  73 => 18,  67 => 17,  63 => 16,  59 => 15,  56 => 14,  53 => 13,  49 => 10,  46 => 9,  42 => 6,  39 => 5,  33 => 3,);
    }
}
