<?php

/* VGMWOBundle:SaleType:new.html.twig */
class __TwigTemplate_5f3d4ac0830cfb194224f5749a006b8a5fd2880808d631fc4cd95542e7b3c930 extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        // line 1
        $this->parent = $this->loadTemplate("VGMWOBundle::layout.html.twig", "VGMWOBundle:SaleType:new.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>Create sale 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("saletypes");
        echo "\">
                    <span class=\"glyphicon glyphicon-list\"></span>
                    Main list
                </a>
            </div>
        </div>
        ";
        // line 21
        $this->env->getExtension('form')->renderer->setTheme((isset($context["form"]) ? $context["form"] : null), array(0 => $this));
        // line 22
        echo "        <form action=\"";
        echo $this->env->getExtension('routing')->getPath("saletypes_create");
        echo "\" method=\"post\" ";
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["form"]) ? $context["form"] : null), 'enctype');
        echo " role=\"form\">
            <div class=\"form-group container-fluid\">
                <div class=\"row\">
                    <div>
                        <!-- Name input -->
                        <div>
                            <label style=\"margin-bottom: 0px;\">Sale type: </label>
                            ";
        // line 29
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "sale_type", array()), 'errors');
        echo "
                            ";
        // line 30
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "sale_type", array()), 'widget', array("attr" => array("id" => "name_imput", "accesskey" => "n", "tabindex" => 1, "class" => "form-control for-desktop", "type" => "text", "placeholder" => "Sale 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["form"]) ? $context["form"] : null), "description", array()), 'errors');
        echo "
                            ";
        // line 42
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute((isset($context["form"]) ? $context["form"] : null), "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>
            <div class=\"col-lg-12 container-fluid text-right\">
                <button class=\"btn btn-primary\" type=\"submit\">Create</button>
                <a class=\"btn btn-warning\" href=\"";
        // line 54
        echo $this->env->getExtension('routing')->getPath("saletypes");
        echo "\">Cancel</a>
            </div>
            ";
        // line 56
        echo $this->env->getExtension('form')->renderer->searchAndRenderBlock((isset($context["form"]) ? $context["form"] : null), 'rest');
        echo "
        </form>
    </div>
";
    }

    // line 60
    public function block_javascripts($context, array $blocks = array())
    {
        // line 61
        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:SaleType:new.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  120 => 61,  117 => 60,  109 => 56,  104 => 54,  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,);
    }
}
