<?php

/* VGMWOBundle:WorkType:edit.html.twig */
class __TwigTemplate_b8ee564d3ce65bab2a8af0af9d0f6b89565ece1e40b0abfae406225ec074337a extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        // line 1
        $this->parent = $this->loadTemplate("VGMWOBundle::layout.html.twig", "VGMWOBundle:WorkType:edit.html.twig", 1);
        $this->blocks = array(
            'jumbotron_content' => array($this, 'block_jumbotron_content'),
            'content' => array($this, 'block_content'),
            'javascripts' => array($this, 'block_javascripts'),
        );
    }

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

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

    // line 2
    public function block_jumbotron_content($context, array $blocks = array())
    {
        // line 3
        echo "    <div class=\"jumbotron\" style=\"padding-top: 10px; padding-bottom: 5px;\"  id=\"jumbotron\">
        <div class=\"container-fluid\">
            <div class=\"col-md-12 text-center\" style=\"padding-left: 0px;\">
                <H3 style=\"margin: 0px;\"><strong>Update work types</strong></H3>
            </div>
        </div>
    </div>
";
    }

    // line 11
    public function block_content($context, array $blocks = array())
    {
        // line 12
        echo "    <div class=\"container\" style=\"min-height: 500px;\">
        <div class=\"col-md-12 text-right\">
            <div class=\"col-ms-2 pull-right\">
                <a href=\"";
        // line 15
        echo $this->env->getExtension('routing')->getPath("worktypes");
        echo "\">
                    <span class=\"glyphicon glyphicon-list\"></span>
                    Main list
                </a>
            </div>
        </div>
        ";
        // line 21
        $this->env->getExtension('form')->renderer->setTheme((isset($context["edit_form"]) ? $context["edit_form"] : $this->getContext($context, "edit_form")), array(0 => $this));
        // line 22
        echo "        <form id=\"edit_form\" action=\"";
        echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("worktypes_update", array("id" => $this->getAttribute((isset($context["entity"]) ? $context["entity"] : $this->getContext($context, "entity")), "id", array()))), "html", null, true);
        echo "\" method=\"post\" ";
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["edit_form"]) ? $context["edit_form"] : $this->getContext($context, "edit_form")), 'enctype');
        echo ">
            <div class=\"form-group container-fluid\">
                <div class=\"row\">
                    <div>
                        <!-- Name input -->
                        <div>
                            <label style=\"margin-bottom: 0px;\">Work type: </label>
                            ";
        // line 29
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : $this->getContext($context, "edit_form")), "work_type", array()), 'errors');
        echo "
                            ";
        // line 30
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : $this->getContext($context, "edit_form")), "work_type", array()), 'widget', array("attr" => array("id" => "name_imput", "accesskey" => "n", "tabindex" => 1, "class" => "form-control for-desktop", "type" => "text", "placeholder" => "Work Type")));
        // line 36
        echo "
                        </div>
                        <!-- Main phone input -->
                        <div>
                            <label style=\"margin-bottom: 0px; margin-top: 10px;\">Description: </label>
                            ";
        // line 41
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : $this->getContext($context, "edit_form")), "description", array()), 'errors');
        echo "
                            ";
        // line 42
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["edit_form"]) ? $context["edit_form"] : $this->getContext($context, "edit_form")), "description", array()), 'widget', array("attr" => array("accesskey" => "p", "tabindex" => 3, "class" => "form-control for-desktop", "type" => "text", "placeholder" => "Description")));
        // line 47
        echo "
                        </div>
                    </div>
                </div>
            </div>
            ";
        // line 52
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["edit_form"]) ? $context["edit_form"] : $this->getContext($context, "edit_form")), 'rest');
        echo "
        </form>
        <div class=\"col-lg-12 container-fluid text-right\">
                <button form=\"edit_form\" type=\"submit\" class=\"btn btn-info btn-sm\">
                    Update
                </button>
            <div style=\"display: inline-block;\">
                ";
        // line 59
        echo         $this->env->getExtension('form')->renderer->renderBlock((isset($context["delete_form"]) ? $context["delete_form"] : $this->getContext($context, "delete_form")), 'form_start');
        echo "
                ";
        // line 60
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["delete_form"]) ? $context["delete_form"] : $this->getContext($context, "delete_form")), "submit", array()), 'widget', array("attr" => array("class" => "btn btn-warning btn-sm")));
        // line 61
        echo "
                ";
        // line 62
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["delete_form"]) ? $context["delete_form"] : $this->getContext($context, "delete_form")), 'rest');
        echo "
                ";
        // line 63
        echo         $this->env->getExtension('form')->renderer->renderBlock((isset($context["delete_form"]) ? $context["delete_form"] : $this->getContext($context, "delete_form")), 'form_end');
        echo "
            </div>
        </div>
    </div>
";
    }

    // line 68
    public function block_javascripts($context, array $blocks = array())
    {
        // line 69
        echo "    ";
        $this->displayParentBlock("javascripts", $context, $blocks);
        echo "
    <script type=\"text/javascript\">
        // Activates knockout.js
        //ko.applyBindings(baseViewModel, document.getElementById(\"menu-bar\"));
    </script>
";
    }

    public function getTemplateName()
    {
        return "VGMWOBundle:WorkType:edit.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  137 => 69,  134 => 68,  125 => 63,  121 => 62,  118 => 61,  116 => 60,  112 => 59,  102 => 52,  95 => 47,  93 => 42,  89 => 41,  82 => 36,  80 => 30,  76 => 29,  63 => 22,  61 => 21,  52 => 15,  47 => 12,  44 => 11,  33 => 3,  30 => 2,  11 => 1,);
    }
}
