<?php

/* install/step0.html.twig */
class __TwigTemplate_73f15649e861836a13446b2f72c08662ff9d2d4454dc3b2355cb18ae529d315a extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        // line 1
        $this->parent = $this->loadTemplate("install/install.html.twig", "install/step0.html.twig", 1);
        $this->blocks = array(
            'content' => array($this, 'block_content'),
        );
    }

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

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

    // line 3
    public function block_content($context, array $blocks = array())
    {
        // line 4
        echo "    <div id=\"step_0\">
        <h2>";
        // line 5
        echo gettext("Bem-vindo a instalação da versão web do Novo SGA.");
        echo "</h2>
        <h3>";
        // line 6
        echo gettext("Versão");
        echo " ";
        echo twig_escape_filter($this->env, (isset($context["version"]) ? $context["version"] : null), "html", null, true);
        echo "</h3>
        <p>";
        // line 7
        echo gettext("Favor escolher o seu sistema de banco de dados preferido a partir dos listados abaixo:");
        echo "</p>
        <ul class=\"adapters\">
            ";
        // line 9
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["scripts"]) ? $context["scripts"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["script"]) {
            // line 10
            echo "            <li id=\"adapter-";
            echo twig_escape_filter($this->env, $this->getAttribute($context["script"], "id", array()), "html", null, true);
            echo "\" class=\"";
            if (((isset($context["currAdapter"]) ? $context["currAdapter"] : null) == $this->getAttribute($context["script"], "id", array()))) {
                echo "bg-primary";
            } else {
                echo "bg-default";
            }
            echo "\">
                <input id=\"";
            // line 11
            echo twig_escape_filter($this->env, $this->getAttribute($context["script"], "id", array()), "html", null, true);
            echo "\" type=\"radio\" name=\"db\" value=\"";
            echo twig_escape_filter($this->env, $this->getAttribute($context["script"], "id", array()), "html", null, true);
            echo "\" onclick=\"setTimeout(function() { SGA.Install.chooseAdapter('";
            echo twig_escape_filter($this->env, $this->getAttribute($context["script"], "id", array()), "html", null, true);
            echo "')}, 100)\" ";
            if (((isset($context["currAdapter"]) ? $context["currAdapter"] : null) == $this->getAttribute($context["script"], "id", array()))) {
                echo "checked=\"checked\"";
            }
            echo " />
                <label for=\"";
            // line 12
            echo twig_escape_filter($this->env, $this->getAttribute($context["script"], "id", array(), "array"), "html", null, true);
            echo "\">
                    <span class=\"adapter\">";
            // line 13
            echo twig_escape_filter($this->env, $this->getAttribute($context["script"], "adapter", array()), "html", null, true);
            echo "</span>
                    <span class=\"info author\">";
            // line 14
            echo gettext("Autor");
            echo ": ";
            echo twig_escape_filter($this->env, $this->getAttribute($context["script"], "author", array()), "html", null, true);
            echo "</span>
                </label>
            </li>
            ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['script'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 18
        echo "        </ul>
        <p>";
        // line 19
        echo gettext("Os requisitos para instalação do sistema irão depender da opção acima.");
        echo "</p>
    </div>
";
    }

    public function getTemplateName()
    {
        return "install/step0.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  99 => 19,  96 => 18,  84 => 14,  80 => 13,  76 => 12,  64 => 11,  53 => 10,  49 => 9,  44 => 7,  38 => 6,  34 => 5,  31 => 4,  28 => 3,  11 => 1,);
    }
}
