<?php

/* localisation/language_form.twig */
class __TwigTemplate_a8602ee13f33798212830f05ea920e430720279a9b5eaae04391c8605cbec087 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 (isset($context["header"]) ? $context["header"] : null);
        echo (isset($context["column_left"]) ? $context["column_left"] : null);
        echo "
<!-- Content Wrapper. Contains page content -->
<div id=\"content\" class=\"content-wrapper\">
  <!-- Content Header (Page header) -->
  <section class=\"content-header\">
    <div>
      <div class=\"pull-right\">
        <button type=\"submit\" form=\"form-language\" data-toggle=\"tooltip\" title=\"";
        // line 8
        echo (isset($context["button_save"]) ? $context["button_save"] : null);
        echo "\" class=\"btn btn-primary btn-sm\"><i class=\"fa fa-save\"></i> ";
        echo (isset($context["button_save"]) ? $context["button_save"] : null);
        echo "</button>
        <a href=\"";
        // line 9
        echo (isset($context["cancel"]) ? $context["cancel"] : null);
        echo "\" data-toggle=\"tooltip\" title=\"";
        echo (isset($context["button_cancel"]) ? $context["button_cancel"] : null);
        echo "\" class=\"btn btn-default btn-sm\"><i class=\"fa fa-reply\"></i> ";
        echo (isset($context["button_cancel"]) ? $context["button_cancel"] : null);
        echo "</a>
      </div>
      <h1>
        ";
        // line 12
        echo (isset($context["heading_title"]) ? $context["heading_title"] : null);
        echo "
      </h1>
    </div>
    <div class=\"row\">
      <div class=\"col-sm-12\">
        <ul class=\"breadcrumb\">
          ";
        // line 18
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["breadcrumbs"]) ? $context["breadcrumbs"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["breadcrumb"]) {
            // line 19
            echo "          <li><a href=\"";
            echo $this->getAttribute($context["breadcrumb"], "href", array());
            echo "\">";
            echo $this->getAttribute($context["breadcrumb"], "text", array());
            echo "</a></li>
          ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['breadcrumb'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 21
        echo "        </ul>
      </div>
    </div>
  </section>

  <!-- Alert -->
  <section class=\"content-header\">
    ";
        // line 28
        if ((isset($context["error_warning"]) ? $context["error_warning"] : null)) {
            // line 29
            echo "    <div class=\"alert alert-danger alert-dismissible\"><i class=\"fa fa-exclamation-circle\"></i> ";
            echo (isset($context["error_warning"]) ? $context["error_warning"] : null);
            echo "
      <button type=\"button\" class=\"close\" data-dismiss=\"alert\">&times;</button>
    </div>
    ";
        }
        // line 33
        echo "    ";
        if ((isset($context["success"]) ? $context["success"] : null)) {
            // line 34
            echo "    <div class=\"alert alert-success alert-dismissible\"><i class=\"fa fa-check-circle\"></i> ";
            echo (isset($context["success"]) ? $context["success"] : null);
            echo "
      <button type=\"button\" class=\"close\" data-dismiss=\"alert\">&times;</button>
    </div>
    ";
        }
        // line 38
        echo "  </section>
  <!-- /.alert -->

  <!-- Main content -->
  <section class=\"content\">

    <!-- Default box -->
    <div class=\"box\">
      <div class=\"box-header with-border\">
        <h3 class=\"box-title\">";
        // line 47
        echo (isset($context["text_form"]) ? $context["text_form"] : null);
        echo "</h3>

        <div class=\"box-tools pull-right\">
          <button type=\"button\" class=\"btn btn-box-tool\" data-widget=\"collapse\" data-toggle=\"tooltip\" title=\"";
        // line 50
        echo (isset($context["text_collapse"]) ? $context["text_collapse"] : null);
        echo "\">
            <i class=\"fa fa-minus\"></i></button>
        </div>
      </div>
      <div class=\"box-body\">
        <form action=\"";
        // line 55
        echo (isset($context["action"]) ? $context["action"] : null);
        echo "\" method=\"post\" enctype=\"multipart/form-data\" id=\"form-language\" class=\"form-horizontal\">
          <div class=\"form-group required\">
            <label class=\"col-sm-2 control-label\" for=\"input-name\">";
        // line 57
        echo (isset($context["entry_name"]) ? $context["entry_name"] : null);
        echo "</label>
            <div class=\"col-sm-10\">
              <input type=\"text\" name=\"name\" value=\"";
        // line 59
        echo (isset($context["name"]) ? $context["name"] : null);
        echo "\" placeholder=\"";
        echo (isset($context["entry_name"]) ? $context["entry_name"] : null);
        echo "\" id=\"input-name\" class=\"form-control\" />
              ";
        // line 60
        if ((isset($context["error_name"]) ? $context["error_name"] : null)) {
            // line 61
            echo "              <div class=\"text-danger\">";
            echo (isset($context["error_name"]) ? $context["error_name"] : null);
            echo "</div>
              ";
        }
        // line 63
        echo "            </div>
          </div>
          <div class=\"form-group required\">
            <label class=\"col-sm-2 control-label\" for=\"input-code\">";
        // line 66
        echo (isset($context["entry_code"]) ? $context["entry_code"] : null);
        echo "</label>
            <div class=\"col-sm-10\">
              <select name=\"code\" id=\"input-code\" class=\"form-control\">
                ";
        // line 69
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable((isset($context["languages"]) ? $context["languages"] : null));
        foreach ($context['_seq'] as $context["_key"] => $context["language"]) {
            // line 70
            echo "                ";
            if (($context["language"] == (isset($context["code"]) ? $context["code"] : null))) {
                // line 71
                echo "                <option value=\"";
                echo $context["language"];
                echo "\" selected=\"selected\">";
                echo $context["language"];
                echo "</option>
                ";
            } else {
                // line 73
                echo "                <option value=\"";
                echo $context["language"];
                echo "\">";
                echo $context["language"];
                echo "</option>
                ";
            }
            // line 75
            echo "                ";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['language'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 76
        echo "              </select>
              ";
        // line 77
        if ((isset($context["error_code"]) ? $context["error_code"] : null)) {
            // line 78
            echo "              <div class=\"text-danger\">";
            echo (isset($context["error_code"]) ? $context["error_code"] : null);
            echo "</div>
              ";
        }
        // line 80
        echo "            </div>
          </div>
          <div class=\"form-group required\">
            <label class=\"col-sm-2 control-label required\" for=\"input-locale\"><span data-toggle=\"tooltip\" title=\"";
        // line 83
        echo (isset($context["help_locale"]) ? $context["help_locale"] : null);
        echo "\">";
        echo (isset($context["entry_locale"]) ? $context["entry_locale"] : null);
        echo "</span></label>
            <div class=\"col-sm-10\">
              <input type=\"text\" name=\"locale\" value=\"";
        // line 85
        echo (isset($context["locale"]) ? $context["locale"] : null);
        echo "\" placeholder=\"";
        echo (isset($context["entry_locale"]) ? $context["entry_locale"] : null);
        echo "\" id=\"input-locale\" class=\"form-control\" />
              ";
        // line 86
        if ((isset($context["error_locale"]) ? $context["error_locale"] : null)) {
            // line 87
            echo "              <div class=\"text-danger\">";
            echo (isset($context["error_locale"]) ? $context["error_locale"] : null);
            echo "</div>
             ";
        }
        // line 89
        echo "            </div>
          </div>          
          <div class=\"form-group\">
            <label class=\"col-sm-2 control-label\" for=\"input-status\"><span data-toggle=\"tooltip\" title=\"";
        // line 92
        echo (isset($context["help_status"]) ? $context["help_status"] : null);
        echo "\">";
        echo (isset($context["entry_status"]) ? $context["entry_status"] : null);
        echo "</span></label>
            <div class=\"col-sm-10\">
              <select name=\"status\" id=\"input-status\" class=\"form-control\">
                ";
        // line 95
        if ((isset($context["status"]) ? $context["status"] : null)) {
            // line 96
            echo "                <option value=\"1\" selected=\"selected\">";
            echo (isset($context["text_enabled"]) ? $context["text_enabled"] : null);
            echo "</option>
                <option value=\"0\">";
            // line 97
            echo (isset($context["text_disabled"]) ? $context["text_disabled"] : null);
            echo "</option>
                ";
        } else {
            // line 99
            echo "                <option value=\"1\">";
            echo (isset($context["text_enabled"]) ? $context["text_enabled"] : null);
            echo "</option>
                <option value=\"0\" selected=\"selected\">";
            // line 100
            echo (isset($context["text_disabled"]) ? $context["text_disabled"] : null);
            echo "</option>
                ";
        }
        // line 102
        echo "              </select>
            </div>
          </div>
          <div class=\"form-group\">
            <label class=\"col-sm-2 control-label\" for=\"input-sort-order\">";
        // line 106
        echo (isset($context["entry_sort_order"]) ? $context["entry_sort_order"] : null);
        echo "</label>
            <div class=\"col-sm-10\">
              <input type=\"text\" name=\"sort_order\" value=\"";
        // line 108
        echo (isset($context["sort_order"]) ? $context["sort_order"] : null);
        echo "\" placeholder=\"";
        echo (isset($context["entry_sort_order"]) ? $context["entry_sort_order"] : null);
        echo "\" id=\"input-sort-order\" class=\"form-control\" />
            </div>
          </div>
        </form>
      </div>
      <!-- /.box-body -->
    </div>
    <!-- /.box -->

  </section>
  <!-- /.content -->
</div>
<!-- /.content-wrapper -->
";
        // line 121
        echo (isset($context["footer"]) ? $context["footer"] : null);
        echo " ";
    }

    public function getTemplateName()
    {
        return "localisation/language_form.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  290 => 121,  272 => 108,  267 => 106,  261 => 102,  256 => 100,  251 => 99,  246 => 97,  241 => 96,  239 => 95,  231 => 92,  226 => 89,  220 => 87,  218 => 86,  212 => 85,  205 => 83,  200 => 80,  194 => 78,  192 => 77,  189 => 76,  183 => 75,  175 => 73,  167 => 71,  164 => 70,  160 => 69,  154 => 66,  149 => 63,  143 => 61,  141 => 60,  135 => 59,  130 => 57,  125 => 55,  117 => 50,  111 => 47,  100 => 38,  92 => 34,  89 => 33,  81 => 29,  79 => 28,  70 => 21,  59 => 19,  55 => 18,  46 => 12,  36 => 9,  30 => 8,  19 => 1,);
    }
}
/* {{ header }}{{ column_left }}*/
/* <!-- Content Wrapper. Contains page content -->*/
/* <div id="content" class="content-wrapper">*/
/*   <!-- Content Header (Page header) -->*/
/*   <section class="content-header">*/
/*     <div>*/
/*       <div class="pull-right">*/
/*         <button type="submit" form="form-language" data-toggle="tooltip" title="{{ button_save }}" class="btn btn-primary btn-sm"><i class="fa fa-save"></i> {{ button_save }}</button>*/
/*         <a href="{{ cancel }}" data-toggle="tooltip" title="{{ button_cancel }}" class="btn btn-default btn-sm"><i class="fa fa-reply"></i> {{ button_cancel }}</a>*/
/*       </div>*/
/*       <h1>*/
/*         {{ heading_title }}*/
/*       </h1>*/
/*     </div>*/
/*     <div class="row">*/
/*       <div class="col-sm-12">*/
/*         <ul class="breadcrumb">*/
/*           {% for breadcrumb in breadcrumbs %}*/
/*           <li><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li>*/
/*           {% endfor %}*/
/*         </ul>*/
/*       </div>*/
/*     </div>*/
/*   </section>*/
/* */
/*   <!-- Alert -->*/
/*   <section class="content-header">*/
/*     {% if error_warning %}*/
/*     <div class="alert alert-danger alert-dismissible"><i class="fa fa-exclamation-circle"></i> {{ error_warning }}*/
/*       <button type="button" class="close" data-dismiss="alert">&times;</button>*/
/*     </div>*/
/*     {% endif %}*/
/*     {% if success %}*/
/*     <div class="alert alert-success alert-dismissible"><i class="fa fa-check-circle"></i> {{ success }}*/
/*       <button type="button" class="close" data-dismiss="alert">&times;</button>*/
/*     </div>*/
/*     {% endif %}*/
/*   </section>*/
/*   <!-- /.alert -->*/
/* */
/*   <!-- Main content -->*/
/*   <section class="content">*/
/* */
/*     <!-- Default box -->*/
/*     <div class="box">*/
/*       <div class="box-header with-border">*/
/*         <h3 class="box-title">{{ text_form }}</h3>*/
/* */
/*         <div class="box-tools pull-right">*/
/*           <button type="button" class="btn btn-box-tool" data-widget="collapse" data-toggle="tooltip" title="{{ text_collapse }}">*/
/*             <i class="fa fa-minus"></i></button>*/
/*         </div>*/
/*       </div>*/
/*       <div class="box-body">*/
/*         <form action="{{ action }}" method="post" enctype="multipart/form-data" id="form-language" class="form-horizontal">*/
/*           <div class="form-group required">*/
/*             <label class="col-sm-2 control-label" for="input-name">{{ entry_name }}</label>*/
/*             <div class="col-sm-10">*/
/*               <input type="text" name="name" value="{{ name }}" placeholder="{{ entry_name }}" id="input-name" class="form-control" />*/
/*               {% if error_name %}*/
/*               <div class="text-danger">{{ error_name }}</div>*/
/*               {% endif %}*/
/*             </div>*/
/*           </div>*/
/*           <div class="form-group required">*/
/*             <label class="col-sm-2 control-label" for="input-code">{{ entry_code }}</label>*/
/*             <div class="col-sm-10">*/
/*               <select name="code" id="input-code" class="form-control">*/
/*                 {% for language in languages %}*/
/*                 {% if language == code %}*/
/*                 <option value="{{ language }}" selected="selected">{{ language }}</option>*/
/*                 {% else %}*/
/*                 <option value="{{ language }}">{{ language }}</option>*/
/*                 {% endif %}*/
/*                 {% endfor %}*/
/*               </select>*/
/*               {% if error_code %}*/
/*               <div class="text-danger">{{ error_code }}</div>*/
/*               {% endif %}*/
/*             </div>*/
/*           </div>*/
/*           <div class="form-group required">*/
/*             <label class="col-sm-2 control-label required" for="input-locale"><span data-toggle="tooltip" title="{{ help_locale }}">{{ entry_locale }}</span></label>*/
/*             <div class="col-sm-10">*/
/*               <input type="text" name="locale" value="{{ locale }}" placeholder="{{ entry_locale }}" id="input-locale" class="form-control" />*/
/*               {% if error_locale %}*/
/*               <div class="text-danger">{{ error_locale }}</div>*/
/*              {% endif %}*/
/*             </div>*/
/*           </div>          */
/*           <div class="form-group">*/
/*             <label class="col-sm-2 control-label" for="input-status"><span data-toggle="tooltip" title="{{ help_status }}">{{ entry_status }}</span></label>*/
/*             <div class="col-sm-10">*/
/*               <select name="status" id="input-status" class="form-control">*/
/*                 {% if status %}*/
/*                 <option value="1" selected="selected">{{ text_enabled }}</option>*/
/*                 <option value="0">{{ text_disabled }}</option>*/
/*                 {% else %}*/
/*                 <option value="1">{{ text_enabled }}</option>*/
/*                 <option value="0" selected="selected">{{ text_disabled }}</option>*/
/*                 {% endif %}*/
/*               </select>*/
/*             </div>*/
/*           </div>*/
/*           <div class="form-group">*/
/*             <label class="col-sm-2 control-label" for="input-sort-order">{{ entry_sort_order }}</label>*/
/*             <div class="col-sm-10">*/
/*               <input type="text" name="sort_order" value="{{ sort_order }}" placeholder="{{ entry_sort_order }}" id="input-sort-order" class="form-control" />*/
/*             </div>*/
/*           </div>*/
/*         </form>*/
/*       </div>*/
/*       <!-- /.box-body -->*/
/*     </div>*/
/*     <!-- /.box -->*/
/* */
/*   </section>*/
/*   <!-- /.content -->*/
/* </div>*/
/* <!-- /.content-wrapper -->*/
/* {{ footer }} */
