<?php

/* localisation/language_list.twig */
class __TwigTemplate_511ca8c96c84343a7c9baf2cc3cb03c507a1ed27d8124f4448a32c81ed623a9b 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\">
        <a href=\"";
        // line 8
        echo (isset($context["add"]) ? $context["add"] : null);
        echo "\" data-toggle=\"tooltip\" title=\"";
        echo (isset($context["button_add"]) ? $context["button_add"] : null);
        echo "\" class=\"btn btn-primary btn-sm\"><i class=\"fa fa-plus\"></i> ";
        echo (isset($context["button_add"]) ? $context["button_add"] : null);
        echo "</a>
        <button type=\"button\" data-toggle=\"tooltip\" title=\"";
        // line 9
        echo (isset($context["button_delete"]) ? $context["button_delete"] : null);
        echo "\" class=\"btn btn-danger btn-sm\" onclick=\"confirm('";
        echo (isset($context["text_confirm"]) ? $context["text_confirm"] : null);
        echo "') ? \$('#form-language').submit() : false;\"><i class=\"fa fa-trash-o\"></i> ";
        echo (isset($context["button_delete"]) ? $context["button_delete"] : null);
        echo "</button>
      </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_list"]) ? $context["text_list"] : 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["delete"]) ? $context["delete"] : null);
        echo "\" method=\"post\" enctype=\"multipart/form-data\" id=\"form-language\">
          <div class=\"table-responsive\">
            <table class=\"table table-bordered table-hover\">
              <thead>
                <tr>
                  <td style=\"width: 1px;\" class=\"text-center\"><input type=\"checkbox\" onclick=\"\$('input[name*=\\'selected\\']').prop('checked', this.checked);\" /></td>
                  <td class=\"text-left\">";
        // line 61
        if (((isset($context["sort"]) ? $context["sort"] : null) == "name")) {
            // line 62
            echo "                    <a href=\"";
            echo (isset($context["sort_name"]) ? $context["sort_name"] : null);
            echo "\" class=\"";
            echo twig_lower_filter($this->env, (isset($context["order"]) ? $context["order"] : null));
            echo "\">";
            echo (isset($context["column_name"]) ? $context["column_name"] : null);
            echo "</a>
                    ";
        } else {
            // line 64
            echo "                    <a href=\"";
            echo (isset($context["sort_name"]) ? $context["sort_name"] : null);
            echo "\">";
            echo (isset($context["column_name"]) ? $context["column_name"] : null);
            echo "</a>
                    ";
        }
        // line 65
        echo "</td>
                  <td class=\"text-left\">";
        // line 66
        if (((isset($context["sort"]) ? $context["sort"] : null) == "code")) {
            // line 67
            echo "                    <a href=\"";
            echo (isset($context["sort_code"]) ? $context["sort_code"] : null);
            echo "\" class=\"";
            echo twig_lower_filter($this->env, (isset($context["order"]) ? $context["order"] : null));
            echo "\">";
            echo (isset($context["column_code"]) ? $context["column_code"] : null);
            echo "</a>
                    ";
        } else {
            // line 69
            echo "                    <a href=\"";
            echo (isset($context["sort_code"]) ? $context["sort_code"] : null);
            echo "\">";
            echo (isset($context["column_code"]) ? $context["column_code"] : null);
            echo "</a>
                    ";
        }
        // line 70
        echo "</td>
                  <td class=\"text-right\">";
        // line 71
        if (((isset($context["sort"]) ? $context["sort"] : null) == "sort_order")) {
            // line 72
            echo "                    <a href=\"";
            echo (isset($context["sort_sort_order"]) ? $context["sort_sort_order"] : null);
            echo "\" class=\"";
            echo twig_lower_filter($this->env, (isset($context["order"]) ? $context["order"] : null));
            echo "\">";
            echo (isset($context["column_sort_order"]) ? $context["column_sort_order"] : null);
            echo "</a>
                    ";
        } else {
            // line 74
            echo "                    <a href=\"";
            echo (isset($context["sort_sort_order"]) ? $context["sort_sort_order"] : null);
            echo "\">";
            echo (isset($context["column_sort_order"]) ? $context["column_sort_order"] : null);
            echo "</a>
                    ";
        }
        // line 75
        echo "</td>
                  <td class=\"text-right\">";
        // line 76
        echo (isset($context["column_action"]) ? $context["column_action"] : null);
        echo "</td>
                </tr>
              </thead>
              <tbody>
                ";
        // line 80
        if ((isset($context["languages"]) ? $context["languages"] : null)) {
            // line 81
            echo "                ";
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable((isset($context["languages"]) ? $context["languages"] : null));
            foreach ($context['_seq'] as $context["_key"] => $context["language"]) {
                // line 82
                echo "                <tr>
                  <td class=\"text-center\">";
                // line 83
                if (twig_in_filter($this->getAttribute($context["language"], "language_id", array()), (isset($context["selected"]) ? $context["selected"] : null))) {
                    // line 84
                    echo "                    <input type=\"checkbox\" name=\"selected[]\" value=\"";
                    echo $this->getAttribute($context["language"], "language_id", array());
                    echo "\" checked=\"checked\" />
                    ";
                } else {
                    // line 86
                    echo "                    <input type=\"checkbox\" name=\"selected[]\" value=\"";
                    echo $this->getAttribute($context["language"], "language_id", array());
                    echo "\" />
                    ";
                }
                // line 87
                echo "</td>
                  <td class=\"text-left\">";
                // line 88
                echo $this->getAttribute($context["language"], "name", array());
                echo "</td>
                  <td class=\"text-left\">";
                // line 89
                echo $this->getAttribute($context["language"], "code", array());
                echo "</td>
                  <td class=\"text-right\">";
                // line 90
                echo $this->getAttribute($context["language"], "sort_order", array());
                echo "</td>
                  <td class=\"text-right\"><a href=\"";
                // line 91
                echo $this->getAttribute($context["language"], "edit", array());
                echo "\" data-toggle=\"tooltip\" title=\"";
                echo (isset($context["button_edit"]) ? $context["button_edit"] : null);
                echo "\" class=\"btn btn-primary\"><i class=\"fa fa-pencil\"></i></a></td>
                </tr>
                ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['language'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 94
            echo "                ";
        } else {
            // line 95
            echo "                <tr>
                  <td class=\"text-center\" colspan=\"5\">";
            // line 96
            echo (isset($context["text_no_results"]) ? $context["text_no_results"] : null);
            echo "</td>
                </tr>
                ";
        }
        // line 99
        echo "              </tbody>
            </table>
          </div>
        </form>
      </div>
      <!-- /.box-body -->
      <div class=\"box-footer\">
        <div class=\"row\">
          <div class=\"col-sm-6 text-left\">";
        // line 107
        echo (isset($context["pagination"]) ? $context["pagination"] : null);
        echo "</div>
          <div class=\"col-sm-6 text-right\">";
        // line 108
        echo (isset($context["results"]) ? $context["results"] : null);
        echo "</div>
        </div>
      </div>
      <!-- /.box-footer-->
    </div>
    <!-- /.box -->

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

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  302 => 119,  288 => 108,  284 => 107,  274 => 99,  268 => 96,  265 => 95,  262 => 94,  251 => 91,  247 => 90,  243 => 89,  239 => 88,  236 => 87,  230 => 86,  224 => 84,  222 => 83,  219 => 82,  214 => 81,  212 => 80,  205 => 76,  202 => 75,  194 => 74,  184 => 72,  182 => 71,  179 => 70,  171 => 69,  161 => 67,  159 => 66,  156 => 65,  148 => 64,  138 => 62,  136 => 61,  127 => 55,  119 => 50,  113 => 47,  102 => 38,  94 => 34,  91 => 33,  83 => 29,  81 => 28,  72 => 21,  61 => 19,  57 => 18,  48 => 12,  38 => 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">*/
/*         <a href="{{ add }}" data-toggle="tooltip" title="{{ button_add }}" class="btn btn-primary btn-sm"><i class="fa fa-plus"></i> {{ button_add }}</a>*/
/*         <button type="button" data-toggle="tooltip" title="{{ button_delete }}" class="btn btn-danger btn-sm" onclick="confirm('{{ text_confirm }}') ? $('#form-language').submit() : false;"><i class="fa fa-trash-o"></i> {{ button_delete }}</button>*/
/*       </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_list }}</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="{{ delete }}" method="post" enctype="multipart/form-data" id="form-language">*/
/*           <div class="table-responsive">*/
/*             <table class="table table-bordered table-hover">*/
/*               <thead>*/
/*                 <tr>*/
/*                   <td style="width: 1px;" class="text-center"><input type="checkbox" onclick="$('input[name*=\'selected\']').prop('checked', this.checked);" /></td>*/
/*                   <td class="text-left">{% if sort == 'name' %}*/
/*                     <a href="{{ sort_name }}" class="{{ order|lower }}">{{ column_name }}</a>*/
/*                     {% else %}*/
/*                     <a href="{{ sort_name }}">{{ column_name }}</a>*/
/*                     {% endif %}</td>*/
/*                   <td class="text-left">{% if sort == 'code' %}*/
/*                     <a href="{{ sort_code }}" class="{{ order|lower }}">{{ column_code }}</a>*/
/*                     {% else %}*/
/*                     <a href="{{ sort_code }}">{{ column_code }}</a>*/
/*                     {% endif %}</td>*/
/*                   <td class="text-right">{% if sort == 'sort_order' %}*/
/*                     <a href="{{ sort_sort_order }}" class="{{ order|lower }}">{{ column_sort_order }}</a>*/
/*                     {% else %}*/
/*                     <a href="{{ sort_sort_order }}">{{ column_sort_order }}</a>*/
/*                     {% endif %}</td>*/
/*                   <td class="text-right">{{ column_action }}</td>*/
/*                 </tr>*/
/*               </thead>*/
/*               <tbody>*/
/*                 {% if languages %}*/
/*                 {% for language in languages %}*/
/*                 <tr>*/
/*                   <td class="text-center">{% if language.language_id in selected %}*/
/*                     <input type="checkbox" name="selected[]" value="{{ language.language_id }}" checked="checked" />*/
/*                     {% else %}*/
/*                     <input type="checkbox" name="selected[]" value="{{ language.language_id }}" />*/
/*                     {% endif %}</td>*/
/*                   <td class="text-left">{{ language.name }}</td>*/
/*                   <td class="text-left">{{ language.code }}</td>*/
/*                   <td class="text-right">{{ language.sort_order }}</td>*/
/*                   <td class="text-right"><a href="{{ language.edit }}" data-toggle="tooltip" title="{{ button_edit }}" class="btn btn-primary"><i class="fa fa-pencil"></i></a></td>*/
/*                 </tr>*/
/*                 {% endfor %}*/
/*                 {% else %}*/
/*                 <tr>*/
/*                   <td class="text-center" colspan="5">{{ text_no_results }}</td>*/
/*                 </tr>*/
/*                 {% endif %}*/
/*               </tbody>*/
/*             </table>*/
/*           </div>*/
/*         </form>*/
/*       </div>*/
/*       <!-- /.box-body -->*/
/*       <div class="box-footer">*/
/*         <div class="row">*/
/*           <div class="col-sm-6 text-left">{{ pagination }}</div>*/
/*           <div class="col-sm-6 text-right">{{ results }}</div>*/
/*         </div>*/
/*       </div>*/
/*       <!-- /.box-footer-->*/
/*     </div>*/
/*     <!-- /.box -->*/
/* */
/*   </section>*/
/*   <!-- /.content -->*/
/* </div>*/
/* <!-- /.content-wrapper -->*/
/* {{ footer }}*/
