<?php

/* @p1cm/settings/main.twig */
class __TwigTemplate_173c15ba677eb9cc5bd4d158495977c19b6eb448a27562008183062c8a66cb7e extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = array(
        );
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        // line 1
        echo "<h2>Settings</h2>

<form class=\"form-horizontal\" method=\"post\">
\t<div class=\"frame-wrap\">
\t\t<div class=\"frame-sidebar\">
\t\t\t<div class=\"frame-box\">
\t\t\t\t<div class=\"frame-box-title\">
\t\t\t\t\t<h4 class=\"frame-heading\">Settings</h4>
\t\t\t\t</div>
\t\t\t\t<div class=\"frame-box-content\">
\t\t\t\t\t<div class=\"row\">
\t\t\t\t\t\t<div class=\"col-md-6 frame-left-container\">
\t\t\t\t\t\t\t<input type=\"submit\" value=\"Save\" class=\"btn btn-primary btn-block\">
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<div class=\"col-md-6 frame-right-container\">
\t\t\t\t\t\t\t<button class=\"btn btn-default btn-block\" data-toggle=\"modal\" data-target=\"#p1cm-discard-modal\">
\t\t\t\t\t\t\t\tDiscard
\t\t\t\t\t\t\t</button>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t
\t\t\t";
        // line 24
        $this->env->loadTemplate("@p1cm/help.twig")->display($context);
        // line 25
        echo "\t\t</div>
\t
\t\t<div class=\"frame-content\">
\t\t\t<div class=\"frame-box\">
\t\t\t\t<div class=\"form-group\">
\t\t\t\t    <label for=\"enable_seo\" class=\"col-sm-3 control-label\">Enable SEO</label>
\t\t\t\t    <div class=\"col-sm-9\">
\t\t\t\t      <input
\t\t\t\t      \ttype=\"checkbox\"
                        id=\"enable_seo\"
                        class=\"frame-bigCheckbox\" 
                        name=\"p1cm[enable_seo]\" 
                        ";
        // line 37
        if ($this->getAttribute((isset($context["p1cm"]) ? $context["p1cm"] : null), "enable_seo")) {
            // line 38
            echo "                        \tchecked=\"checked\"
\t\t\t\t\t\t";
        }
        // line 40
        echo "                      >
\t\t\t\t    </div>
\t\t\t\t</div>
                
                <div class=\"form-group\">
                    <label for=\"stop_words\" class=\"col-sm-3 control-label\">Stop Words</label>
                    <div class=\"col-sm-9\">
                        <textarea
                        \tclass=\"form-control\"
                            id=\"stop_words\"
                            rows=\"4\"
                            cols=\"80\"
                            name=\"p1cm[stop_words]\"
                        >";
        // line 53
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["p1cm"]) ? $context["p1cm"] : null), "stop_words"), "html", null, true);
        echo "</textarea>
                    </div>
                </div>
                
                <div class=\"form-group\">
                    <label for=\"min_word_length\" class=\"col-sm-3 control-label\">Min Length</label>
                    <div class=\"col-sm-9\">
                        <input
                        \ttype=\"text\"
                            id=\"min_word_length\"
                            name=\"p1cm[min_word_length]\"
                            class=\"form-control\"
                            value=\"";
        // line 65
        echo twig_escape_filter($this->env, $this->getAttribute((isset($context["p1cm"]) ? $context["p1cm"] : null), "min_word_length"), "html", null, true);
        echo "\"
                        >
                    </div>
                </div>
                
                <div class=\"form-group\">
                    <label for=\"locale\" class=\"col-sm-3 control-label\">Google Locale</label>
                    <div class=\"col-sm-9\">
                    \t<select
                    \t\tclass=\"form-control\"
\t\t\t\t\t\t    id=\"locale\"
\t\t\t\t\t\t    name=\"p1cm[locale]\"
\t\t\t\t\t\t>";
        // line 77
        $context['_parent'] = (array) $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["locales"]) ? $context["locales"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["locale"]) {
            // line 78
            echo "\t\t\t\t\t\t    <option value=\"";
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["locale"]) ? $context["locale"] : null), "code"), "html", null, true);
            echo "\"
\t\t\t\t\t\t    \t";
            // line 79
            if (($this->getAttribute((isset($context["locale"]) ? $context["locale"] : null), "code") == $this->getAttribute((isset($context["p1cm"]) ? $context["p1cm"] : null), "locale"))) {
                // line 80
                echo "\t\t\t\t\t\t    \t\tselected=\"selected\"
\t\t\t\t\t\t    \t";
            }
            // line 82
            echo "\t\t\t\t\t\t    >";
            echo twig_escape_filter($this->env, $this->getAttribute((isset($context["locale"]) ? $context["locale"] : null), "label"), "html", null, true);
            echo "</option>
\t\t\t\t\t\t";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['locale'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 83
        echo "</select>
                    </div>
                </div>
\t\t\t</div>
\t\t</div>
\t</div>
</form>
";
    }

    public function getTemplateName()
    {
        return "@p1cm/settings/main.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  135 => 83,  126 => 82,  122 => 80,  120 => 79,  115 => 78,  111 => 77,  96 => 65,  81 => 53,  66 => 40,  62 => 38,  60 => 37,  46 => 25,  44 => 24,  19 => 1,);
    }
}
