public function block_form_label($context, array $blocks = array())
 {
     $__internal_6fb545f92cf9bc753601ad7819c1a0d39961dd584b025c210f3a6986b7b4908e = $this->env->getExtension("native_profiler");
     $__internal_6fb545f92cf9bc753601ad7819c1a0d39961dd584b025c210f3a6986b7b4908e->enter($__internal_6fb545f92cf9bc753601ad7819c1a0d39961dd584b025c210f3a6986b7b4908e_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "form_label"));
     // line 25
     echo "    ";
     if (twig_test_empty(isset($context["label"]) ? $context["label"] : $this->getContext($context, "label"))) {
         // line 26
         echo "        ";
         $context["label"] = $this->env->getExtension('form')->humanize(isset($context["name"]) ? $context["name"] : $this->getContext($context, "name"));
         // line 27
         echo "    ";
     }
     // line 28
     echo "    <label for=\"";
     echo twig_escape_filter($this->env, isset($context["id"]) ? $context["id"] : $this->getContext($context, "id"), "html", null, true);
     echo "\">\n        ";
     // line 29
     echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans(isset($context["label"]) ? $context["label"] : $this->getContext($context, "label")), "html", null, true);
     echo "\n        ";
     // line 30
     if (isset($context["required"]) ? $context["required"] : $this->getContext($context, "required")) {
         // line 31
         echo "            <span class=\"symfony-form-required\" title=\"This field is required\">*</span>\n        ";
     }
     // line 33
     echo "    </label>\n";
     $__internal_6fb545f92cf9bc753601ad7819c1a0d39961dd584b025c210f3a6986b7b4908e->leave($__internal_6fb545f92cf9bc753601ad7819c1a0d39961dd584b025c210f3a6986b7b4908e_prof);
 }
 public function block_form_label($context, array $blocks = array())
 {
     $__internal_f3f643a880fb2ef1e7e431fdcb3ecd7a59cc73a4659abb91be83853878e08da3 = $this->env->getExtension("native_profiler");
     $__internal_f3f643a880fb2ef1e7e431fdcb3ecd7a59cc73a4659abb91be83853878e08da3->enter($__internal_f3f643a880fb2ef1e7e431fdcb3ecd7a59cc73a4659abb91be83853878e08da3_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "form_label"));
     // line 25
     echo "    ";
     if (twig_test_empty(isset($context["label"]) ? $context["label"] : $this->getContext($context, "label"))) {
         // line 26
         echo "        ";
         $context["label"] = $this->env->getExtension('form')->humanize(isset($context["name"]) ? $context["name"] : $this->getContext($context, "name"));
         // line 27
         echo "    ";
     }
     // line 28
     echo "    <label for=\"";
     echo twig_escape_filter($this->env, isset($context["id"]) ? $context["id"] : $this->getContext($context, "id"), "html", null, true);
     echo "\">\n        ";
     // line 29
     echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans(isset($context["label"]) ? $context["label"] : $this->getContext($context, "label")), "html", null, true);
     echo "\n        ";
     // line 30
     if (isset($context["required"]) ? $context["required"] : $this->getContext($context, "required")) {
         // line 31
         echo "            <span class=\"symfony-form-required\" title=\"This field is required\">*</span>\n        ";
     }
     // line 33
     echo "    </label>\n";
     $__internal_f3f643a880fb2ef1e7e431fdcb3ecd7a59cc73a4659abb91be83853878e08da3->leave($__internal_f3f643a880fb2ef1e7e431fdcb3ecd7a59cc73a4659abb91be83853878e08da3_prof);
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     $tags = array("set" => 16, "if" => 23);
     $filters = array();
     $functions = array();
     try {
         $this->env->getExtension('sandbox')->checkSecurity(array('set', 'if'), array(), array());
     } catch (Twig_Sandbox_SecurityError $e) {
         $e->setTemplateFile($this->getTemplateName());
         if ($e instanceof Twig_Sandbox_SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
             $e->setTemplateLine($tags[$e->getTagName()]);
         } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
             $e->setTemplateLine($filters[$e->getFilterName()]);
         } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
             $e->setTemplateLine($functions[$e->getFunctionName()]);
         }
         throw $e;
     }
     // line 16
     $context["classes"] = array(0 => (isset($context["title_display"]) ? $context["title_display"] : null) == "after" ? "option" : "", 1 => (isset($context["title_display"]) ? $context["title_display"] : null) == "invisible" ? "visually-hidden" : "", 2 => isset($context["required"]) ? $context["required"] : null ? "js-form-required" : "", 3 => isset($context["required"]) ? $context["required"] : null ? "form-required" : "");
     // line 23
     if (!twig_test_empty(isset($context["title"]) ? $context["title"] : null) || (isset($context["required"]) ? $context["required"] : null)) {
         // line 24
         echo "<label";
         echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, "addClass", array(0 => isset($context["classes"]) ? $context["classes"] : null), "method"), "html", null, true));
         echo ">";
         echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title"]) ? $context["title"] : null, "html", null, true));
         echo "</label>";
     }
 }
 public function block_form_label($context, array $blocks = array())
 {
     $__internal_bd3da9424ae7b4db51e2bd10b7a8b68dde3e3e93c1834246b19e7401bda95f9b = $this->env->getExtension("native_profiler");
     $__internal_bd3da9424ae7b4db51e2bd10b7a8b68dde3e3e93c1834246b19e7401bda95f9b->enter($__internal_bd3da9424ae7b4db51e2bd10b7a8b68dde3e3e93c1834246b19e7401bda95f9b_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "form_label"));
     // line 25
     echo "    ";
     if (twig_test_empty(isset($context["label"]) ? $context["label"] : $this->getContext($context, "label"))) {
         // line 26
         echo "        ";
         $context["label"] = $this->env->getExtension('form')->humanize(isset($context["name"]) ? $context["name"] : $this->getContext($context, "name"));
         // line 27
         echo "    ";
     }
     // line 28
     echo "    <label for=\"";
     echo twig_escape_filter($this->env, isset($context["id"]) ? $context["id"] : $this->getContext($context, "id"), "html", null, true);
     echo "\">\n        ";
     // line 29
     echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans(isset($context["label"]) ? $context["label"] : $this->getContext($context, "label")), "html", null, true);
     echo "\n        ";
     // line 30
     if (isset($context["required"]) ? $context["required"] : $this->getContext($context, "required")) {
         // line 31
         echo "            <span class=\"symfony-form-required\" title=\"This field is required\">*</span>\n        ";
     }
     // line 33
     echo "    </label>\n";
     $__internal_bd3da9424ae7b4db51e2bd10b7a8b68dde3e3e93c1834246b19e7401bda95f9b->leave($__internal_bd3da9424ae7b4db51e2bd10b7a8b68dde3e3e93c1834246b19e7401bda95f9b_prof);
 }
    protected function doDisplay(array $context, array $blocks = array())
    {
        // line 1
        echo "
";
        // line 2
        if ((array_key_exists("formErrors", $context) &&  !twig_test_empty((isset($context["formErrors"]) ? $context["formErrors"] : $this->getContext($context, "formErrors"))))) {
            // line 3
            echo "    <div class=\"message_error\">
        ";
            // line 4
            $context['_parent'] = (array) $context;
            $context['_seq'] = twig_ensure_traversable((isset($context["formErrors"]) ? $context["formErrors"] : $this->getContext($context, "formErrors")));
            foreach ($context['_seq'] as $context["_key"] => $context["data"]) {
                // line 5
                echo "            <strong>";
                echo twig_escape_filter($this->env, call_user_func_array($this->env->getFilter('translate')->getCallable(), array("General_Error")), "html", null, true);
                echo "</strong>: ";
                echo $context["data"];
                echo "
            <br/>
        ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['data'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 8
            echo "    </div>
";
        }
    }
 public function block_content($context, array $blocks = array())
 {
     // line 8
     echo "    <table class=\"table table-bordered\">\n        <tr>\n            <th>ID</th>\n            <th>UserName</th>\n            <th>Email</th>\n            <th>Last Login</th>\n            <th>Active</th>\n            <th>Created At</th>\n            <th>#</th>\n        </tr>\n        ";
     // line 18
     if (array_key_exists("users", $context) && !twig_test_empty(isset($context["users"]) ? $context["users"] : $this->getContext($context, "users"))) {
         // line 19
         echo "            ";
         $context['_parent'] = (array) $context;
         $context['_seq'] = twig_ensure_traversable(isset($context["users"]) ? $context["users"] : $this->getContext($context, "users"));
         foreach ($context['_seq'] as $context["_key"] => $context["user"]) {
             // line 20
             echo "                <tr>\n                    <td>";
             // line 21
             echo twig_escape_filter($this->env, $this->getAttribute($context["user"], "id", array(), "any", true, true) ? _twig_default_filter($this->getAttribute($context["user"], "id", array()), "") : "", "html", null, true);
             echo "</td>\n                    <td>";
             // line 22
             echo twig_escape_filter($this->env, $this->getAttribute($context["user"], "username", array(), "any", true, true) ? _twig_default_filter($this->getAttribute($context["user"], "username", array()), "") : "", "html", null, true);
             echo "</td>\n                    <td>";
             // line 23
             echo twig_escape_filter($this->env, $this->getAttribute($context["user"], "email", array(), "any", true, true) ? _twig_default_filter($this->getAttribute($context["user"], "email", array()), "") : "", "html", null, true);
             echo "</td>\n                    <td>";
             // line 24
             echo twig_escape_filter($this->env, $this->getAttribute($context["user"], "lastLogin", array(), "any", true, true) && !(null === $this->getAttribute($context["user"], "lastLogin", array())) ? twig_date_format_filter($this->env, $this->getAttribute($context["user"], "lastLogin", array())) : "", "html", null, true);
             echo "</td>\n                    <td>";
             // line 25
             echo $this->getAttribute($context["user"], "enabled", array(), "any", true, true) && $this->getAttribute($context["user"], "enabled", array()) ? "Yes" : "No";
             echo "</td>\n                    <td>";
             // line 26
             echo twig_escape_filter($this->env, _twig_default_filter(twig_date_format_filter($this->env, $this->getAttribute($context["user"], "createdAt", array())), ""), "html", null, true);
             echo "</td>\n                    <td>\n                        <ul class=\"nav nav-pills\">\n                            <li class=\"dropdown\">\n                                <a id=\"drop5\" role=\"button\" data-toggle=\"dropdown\" href=\"#\">Action <span class=\"caret\"></span></a>\n                                <ul id=\"menu2\" class=\"dropdown-menu\" role=\"menu\" aria-labelledby=\"drop5\">\n                                    <li role=\"presentation\"><a role=\"menuitem\" target=\"_blank\" tabindex=\"-1\" href=\"";
             // line 32
             echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("view_profile", array("id" => $this->getAttribute($this->getAttribute($context["user"], "profile", array()), "id", array()))), "html", null, true);
             echo "\">View</a></li>\n                                    ";
             // line 33
             if ($this->getAttribute($context["user"], "enabled", array(), "any", true, true) && $this->getAttribute($context["user"], "enabled", array())) {
                 // line 34
                 echo "                                        <li role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\"";
                 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("admin_user_ban", array("id" => $this->getAttribute($context["user"], "id", array()))), "html", null, true);
                 echo "\">Disable</a></li>\n                                    ";
             } else {
                 // line 36
                 echo "                                        <li role=\"presentation\"><a role=\"menuitem\" tabindex=\"-1\" href=\"";
                 echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("admin_user_unban", array("id" => $this->getAttribute($context["user"], "id", array()))), "html", null, true);
                 echo "\">Enable</a></li>\n                                    ";
             }
             // line 38
             echo "                                        <li role=\"presentation\"><a role=\"menuitem\" onclick=\"return confirm('Are you sure?');\" tabindex=\"-1\" href=\"";
             echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("admin_user_delete", array("id" => $this->getAttribute($context["user"], "id", array()))), "html", null, true);
             echo "\">Delete</a></li>\n                                </ul>\n                            </li>\n                        </ul>\n                    </td>\n                </tr>\n            ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['user'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
         // line 45
         echo "        ";
     }
     // line 46
     echo "    </table>\n";
 }
 public function block_form_label($context, array $blocks = array())
 {
     $__internal_74c87a5ca4fa0a6996ea6fe08a6cb40a6b52e0de9387599c7c1325922c38a9d9 = $this->env->getExtension("native_profiler");
     $__internal_74c87a5ca4fa0a6996ea6fe08a6cb40a6b52e0de9387599c7c1325922c38a9d9->enter($__internal_74c87a5ca4fa0a6996ea6fe08a6cb40a6b52e0de9387599c7c1325922c38a9d9_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "form_label"));
     // line 25
     echo "    ";
     if (twig_test_empty(isset($context["label"]) ? $context["label"] : $this->getContext($context, "label"))) {
         // line 26
         echo "        ";
         $context["label"] = $this->env->getExtension('form')->humanize(isset($context["name"]) ? $context["name"] : $this->getContext($context, "name"));
         // line 27
         echo "    ";
     }
     // line 28
     echo "    <label for=\"";
     echo twig_escape_filter($this->env, isset($context["id"]) ? $context["id"] : $this->getContext($context, "id"), "html", null, true);
     echo "\">\n        ";
     // line 29
     echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans(isset($context["label"]) ? $context["label"] : $this->getContext($context, "label")), "html", null, true);
     echo "\n        ";
     // line 30
     if (isset($context["required"]) ? $context["required"] : $this->getContext($context, "required")) {
         // line 31
         echo "            <span class=\"symfony-form-required\" title=\"This field is required\">*</span>\n        ";
     }
     // line 33
     echo "    </label>\n";
     $__internal_74c87a5ca4fa0a6996ea6fe08a6cb40a6b52e0de9387599c7c1325922c38a9d9->leave($__internal_74c87a5ca4fa0a6996ea6fe08a6cb40a6b52e0de9387599c7c1325922c38a9d9_prof);
 }
 public function block_main($context, array $blocks = array())
 {
     // line 6
     echo "<article id=\"main\">\n\n    <header class=\"special container\">\n        <span class=\"icon ";
     // line 9
     echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(isset($context["theme"]) ? $context["theme"] : null, "general", array()), "icon", array()), "html", null, true);
     echo "\"></span>\n        <h2>";
     // line 10
     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["record"]) ? $context["record"] : null, "title", array()), "html", null, true);
     echo "</h2>\n        ";
     // line 11
     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["record"]) ? $context["record"] : null, "teaser", array()), "html", null, true);
     echo "\n    </header>\n\n    <section class=\"wrapper style4 container\">\n        <div class=\"content\">\n            <section>\n                <a href=\"";
     // line 17
     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["record"]) ? $context["record"] : null, "link", array()), "html", null, true);
     echo "\" class=\"image featured\"><img src=\"";
     echo twig_escape_filter($this->env, $this->env->getExtension('Bolt')->image($this->getAttribute(isset($context["record"]) ? $context["record"] : null, "image", array())), "html", null, true);
     echo "\" alt=\"\" /></a>\n                <header>\n                    <h3>";
     // line 19
     if (!twig_test_empty($this->getAttribute(isset($context["record"]) ? $context["record"] : null, "subtitle", array()))) {
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["record"]) ? $context["record"] : null, "subtitle", array()), "html", null, true);
     } else {
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["record"]) ? $context["record"] : null, "title", array()), "html", null, true);
     }
     echo "</h3>\n                </header>\n                ";
     // line 21
     echo twig_escape_filter($this->env, $this->getAttribute(isset($context["record"]) ? $context["record"] : null, "body", array()), "html", null, true);
     echo "\n            </section>\n        </div>\n    </section>\n\n    ";
     // line 26
     $this->loadTemplate("_row.twig", "record.twig", 26)->display($context);
     // line 27
     echo "        \n</article>\n";
 }
 public function block_form_label($context, array $blocks = array())
 {
     $__internal_c936c4ce4a38154b717b557cf58e9a64bb5be7554a936634522d44e26fc7c465 = $this->env->getExtension("native_profiler");
     $__internal_c936c4ce4a38154b717b557cf58e9a64bb5be7554a936634522d44e26fc7c465->enter($__internal_c936c4ce4a38154b717b557cf58e9a64bb5be7554a936634522d44e26fc7c465_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "form_label"));
     // line 25
     echo "    ";
     if (twig_test_empty(isset($context["label"]) ? $context["label"] : $this->getContext($context, "label"))) {
         // line 26
         echo "        ";
         $context["label"] = $this->env->getExtension('form')->humanize(isset($context["name"]) ? $context["name"] : $this->getContext($context, "name"));
         // line 27
         echo "    ";
     }
     // line 28
     echo "    <label for=\"";
     echo twig_escape_filter($this->env, isset($context["id"]) ? $context["id"] : $this->getContext($context, "id"), "html", null, true);
     echo "\">\n        ";
     // line 29
     echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans(isset($context["label"]) ? $context["label"] : $this->getContext($context, "label")), "html", null, true);
     echo "\n        ";
     // line 30
     if (isset($context["required"]) ? $context["required"] : $this->getContext($context, "required")) {
         // line 31
         echo "            <span class=\"symfony-form-required\" title=\"This field is required\">*</span>\n        ";
     }
     // line 33
     echo "    </label>\n";
     $__internal_c936c4ce4a38154b717b557cf58e9a64bb5be7554a936634522d44e26fc7c465->leave($__internal_c936c4ce4a38154b717b557cf58e9a64bb5be7554a936634522d44e26fc7c465_prof);
 }
 public function block_form_label($context, array $blocks = array())
 {
     $__internal_abf99680d235030955900c6bd695cb67c52595dc665ef72899bc554f2ac21971 = $this->env->getExtension("native_profiler");
     $__internal_abf99680d235030955900c6bd695cb67c52595dc665ef72899bc554f2ac21971->enter($__internal_abf99680d235030955900c6bd695cb67c52595dc665ef72899bc554f2ac21971_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "form_label"));
     // line 25
     echo "    ";
     if (twig_test_empty(isset($context["label"]) ? $context["label"] : $this->getContext($context, "label"))) {
         // line 26
         echo "        ";
         $context["label"] = $this->env->getExtension('form')->humanize(isset($context["name"]) ? $context["name"] : $this->getContext($context, "name"));
         // line 27
         echo "    ";
     }
     // line 28
     echo "    <label for=\"";
     echo twig_escape_filter($this->env, isset($context["id"]) ? $context["id"] : $this->getContext($context, "id"), "html", null, true);
     echo "\">\n        ";
     // line 29
     echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans(isset($context["label"]) ? $context["label"] : $this->getContext($context, "label")), "html", null, true);
     echo "\n        ";
     // line 30
     if (isset($context["required"]) ? $context["required"] : $this->getContext($context, "required")) {
         // line 31
         echo "            <span class=\"symfony-form-required\" title=\"This field is required\">*</span>\n        ";
     }
     // line 33
     echo "    </label>\n";
     $__internal_abf99680d235030955900c6bd695cb67c52595dc665ef72899bc554f2ac21971->leave($__internal_abf99680d235030955900c6bd695cb67c52595dc665ef72899bc554f2ac21971_prof);
 }
 public function block_content($context, array $blocks = array())
 {
     // line 5
     echo "\t<div class=\"container content\">\n\t\t";
     // line 6
     $this->env->loadTemplate("Admin/parts/menu")->display(array_merge($context, array("currentPage" => "settings")));
     // line 7
     echo "\t\t<div class=\"panel panel-primary\">\n\t\t\t<div class=\"panel-heading\">Registration</div>\n\t\t\t<div class=\"panel-body\">\t\t\n\t\t\t\t";
     // line 10
     if (!twig_test_empty(isset($context["successRegistration"]) ? $context["successRegistration"] : null)) {
         // line 11
         echo "\t\t\t\t\t<div class=\"alert alert-success\" role=\"alert\"><p>";
         echo twig_escape_filter($this->env, isset($context["successRegistration"]) ? $context["successRegistration"] : null, "html", null, true);
         echo "</p></div>\n\t\t\t\t";
     }
     // line 13
     echo "\t\t\t\t<label>Registration status</label>\n\t\t\t\t<form method=\"post\" action=\"\" class=\"form-inline\">\n\t\t\t\t\t<select name=\"registrationStatus\" class=\"form-control\">\n\t\t\t\t\t\t<option value=\"1\" ";
     // line 16
     if ($this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "registration_status") == 1) {
         echo "selected";
     }
     echo ">On</option>\n\t\t\t\t\t\t<option value=\"0\" ";
     // line 17
     if ($this->getAttribute(isset($context["settings"]) ? $context["settings"] : null, "registration_status") == 0) {
         echo "selected";
     }
     echo ">Off</option>\n\t\t\t\t\t</select>\n\t\t\t\t\t<input type=\"hidden\" name=\"type\" value=\"registration\">\n\t\t\t\t\t<input type=\"submit\" value=\"Save\" class=\"btn btn-primary\">\n\t\t\t\t</form>\t\t\n\t\t\t</div>\n\t\t</div>\t\t\n\t</div>\n";
 }
 public function block_label($context, array $blocks = array())
 {
     $__internal_185a35ed305023afb393302364aeb4f0a0b28130fb37a6761e8ba364d4a78ace = $this->env->getExtension("native_profiler");
     $__internal_185a35ed305023afb393302364aeb4f0a0b28130fb37a6761e8ba364d4a78ace->enter($__internal_185a35ed305023afb393302364aeb4f0a0b28130fb37a6761e8ba364d4a78ace_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "label"));
     // line 15
     echo "        ";
     if ((isset($context["inline"]) ? $context["inline"] : $this->getContext($context, "inline")) == "natural") {
         // line 16
         echo "            ";
         if ($this->getAttribute($this->getAttribute(isset($context["field_description"]) ? $context["field_description"] : null, "options", array(), "any", false, true), "name", array(), "any", true, true)) {
             // line 17
             echo "                ";
             echo $this->env->getExtension('form')->renderer->searchAndRenderBlock(isset($context["field_element"]) ? $context["field_element"] : $this->getContext($context, "field_element"), 'label', twig_test_empty($_label_ = $this->getAttribute($this->getAttribute(isset($context["field_description"]) ? $context["field_description"] : $this->getContext($context, "field_description"), "options", array()), "name", array())) ? array() : array("label" => $_label_));
             echo "\n            ";
         } else {
             // line 19
             echo "                ";
             echo $this->env->getExtension('form')->renderer->searchAndRenderBlock(isset($context["field_element"]) ? $context["field_element"] : $this->getContext($context, "field_element"), 'label');
             echo "\n            ";
         }
         // line 21
         echo "            <br>\n        ";
     }
     // line 23
     echo "    ";
     $__internal_185a35ed305023afb393302364aeb4f0a0b28130fb37a6761e8ba364d4a78ace->leave($__internal_185a35ed305023afb393302364aeb4f0a0b28130fb37a6761e8ba364d4a78ace_prof);
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     // line 1
     if (array_key_exists("participants", $context) && !twig_test_empty(isset($context["participants"]) ? $context["participants"] : null)) {
         // line 2
         echo "    ";
         $context['_parent'] = (array) $context;
         $context['_seq'] = twig_ensure_traversable(isset($context["participants"]) ? $context["participants"] : null);
         foreach ($context['_seq'] as $context["_key"] => $context["participant"]) {
             // line 3
             echo "        <div class=\"author\">\n            <div class=\"people clearfix\">\n                <div class=\"face postet-by\">\n                    <a target=\"_blank\" href=\"";
             // line 6
             echo twig_escape_filter($this->env, $this->env->getExtension('routing')->getPath("view_profile", array("id" => $this->getAttribute($this->getAttribute($context["participant"], "profile", array()), "id", array()))), "html", null, true);
             echo "\">\n                        <p class=\"name\">";
             // line 7
             echo twig_escape_filter($this->env, $this->getAttribute($context["participant"], "username", array()), "html", null, true);
             echo "</p>\n                        <img width=\"82px\" src=\"";
             // line 8
             echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($context["participant"], "profile", array()), "avatar", array()), "html", null, true);
             echo "\">\n                    </a>\n                </div>\n            </div>\n        </div>\n    ";
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['participant'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
     }
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     // line 1
     echo "<!DOCTYPE html>\n<html>\n    <head>\n        <meta charset=\"UTF-8\">\n        <title>Shout Box</title>\n    </head>\n    <body>\n        ";
     // line 8
     if (!twig_test_empty(isset($context["error"]) ? $context["error"] : null)) {
         // line 9
         echo "            <p><b><i>";
         echo twig_escape_filter($this->env, isset($context["error"]) ? $context["error"] : null, "html", null, true);
         echo "</i></b></p>\n        ";
     }
     // line 11
     echo "     \n        <form method=\"post\">\n            Input your message: <input type=\"text\" name=\"message\">\n            <input type=\"submit\" value=\"Shout!\">            \n        </form>\n        ";
     // line 16
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["messageList"]) ? $context["messageList"] : null);
     $context['_iterated'] = false;
     foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
         // line 17
         echo "            <p>* ";
         echo twig_escape_filter($this->env, $context["message"], "html", null, true);
         echo "</p>\n        ";
         $context['_iterated'] = true;
     }
     if (!$context['_iterated']) {
         // line 19
         echo "            <p><i>No shouts yet.</i></p>\n        ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 21
     echo "    </body>\n</html>";
 }
 public function block_form_label($context, array $blocks = array())
 {
     $__internal_8a83ab026affdf256bd005a5cbaf69fe5e14365075416322e4b79bbe77fb26be = $this->env->getExtension("native_profiler");
     $__internal_8a83ab026affdf256bd005a5cbaf69fe5e14365075416322e4b79bbe77fb26be->enter($__internal_8a83ab026affdf256bd005a5cbaf69fe5e14365075416322e4b79bbe77fb26be_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "form_label"));
     // line 25
     echo "    ";
     if (twig_test_empty(isset($context["label"]) ? $context["label"] : $this->getContext($context, "label"))) {
         // line 26
         echo "        ";
         $context["label"] = $this->env->getExtension('form')->humanize(isset($context["name"]) ? $context["name"] : $this->getContext($context, "name"));
         // line 27
         echo "    ";
     }
     // line 28
     echo "    <label for=\"";
     echo twig_escape_filter($this->env, isset($context["id"]) ? $context["id"] : $this->getContext($context, "id"), "html", null, true);
     echo "\">\n        ";
     // line 29
     echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans(isset($context["label"]) ? $context["label"] : $this->getContext($context, "label")), "html", null, true);
     echo "\n        ";
     // line 30
     if (isset($context["required"]) ? $context["required"] : $this->getContext($context, "required")) {
         // line 31
         echo "            <span class=\"symfony-form-required\" title=\"This field is required\">*</span>\n        ";
     }
     // line 33
     echo "    </label>\n";
     $__internal_8a83ab026affdf256bd005a5cbaf69fe5e14365075416322e4b79bbe77fb26be->leave($__internal_8a83ab026affdf256bd005a5cbaf69fe5e14365075416322e4b79bbe77fb26be_prof);
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     $__internal_beb0e5d50700aca8e4a6db16aacdf03761c2825998e20b3f417cb7721edee858 = $this->env->getExtension("native_profiler");
     $__internal_beb0e5d50700aca8e4a6db16aacdf03761c2825998e20b3f417cb7721edee858->enter($__internal_beb0e5d50700aca8e4a6db16aacdf03761c2825998e20b3f417cb7721edee858_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "NelmioApiDocBundle:Components:version.html.twig"));
     // line 1
     if (twig_test_empty(isset($context["sinceVersion"]) ? $context["sinceVersion"] : $this->getContext($context, "sinceVersion")) && twig_test_empty(isset($context["untilVersion"]) ? $context["untilVersion"] : $this->getContext($context, "untilVersion"))) {
         // line 2
         echo "*\n";
     } else {
         // line 4
         echo "    ";
         if (!twig_test_empty(isset($context["sinceVersion"]) ? $context["sinceVersion"] : $this->getContext($context, "sinceVersion"))) {
             echo "&gt;=";
             echo twig_escape_filter($this->env, isset($context["sinceVersion"]) ? $context["sinceVersion"] : $this->getContext($context, "sinceVersion"), "html", null, true);
         }
         // line 5
         echo "    ";
         if (!twig_test_empty(isset($context["untilVersion"]) ? $context["untilVersion"] : $this->getContext($context, "untilVersion"))) {
             // line 6
             echo "        ";
             if (!twig_test_empty(isset($context["sinceVersion"]) ? $context["sinceVersion"] : $this->getContext($context, "sinceVersion"))) {
                 echo ",";
             }
             echo "&lt;=";
             echo twig_escape_filter($this->env, isset($context["untilVersion"]) ? $context["untilVersion"] : $this->getContext($context, "untilVersion"), "html", null, true);
             echo "\n    ";
         }
     }
     $__internal_beb0e5d50700aca8e4a6db16aacdf03761c2825998e20b3f417cb7721edee858->leave($__internal_beb0e5d50700aca8e4a6db16aacdf03761c2825998e20b3f417cb7721edee858_prof);
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     // line 1
     echo "<thead>\n   <tr>\n       ";
     // line 3
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable($this->getAttribute($this->getContext($context, "properties"), "columns_to_display"));
     $context['loop'] = array('parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true);
     if (is_array($context['_seq']) || is_object($context['_seq']) && $context['_seq'] instanceof Countable) {
         $length = count($context['_seq']);
         $context['loop']['revindex0'] = $length - 1;
         $context['loop']['revindex'] = $length;
         $context['loop']['length'] = $length;
         $context['loop']['last'] = 1 === $length;
     }
     foreach ($context['_seq'] as $context["_key"] => $context["column"]) {
         // line 4
         echo "           <th class=\"";
         if ($this->getAttribute($this->getContext($context, "properties"), "enable_sort")) {
             echo "sortable";
         }
         echo " ";
         if ($this->getAttribute($this->getContext($context, "loop"), "first")) {
             echo "first";
         } elseif ($this->getAttribute($this->getContext($context, "loop"), "last")) {
             echo "last";
         }
         echo "\" id=\"";
         echo twig_escape_filter($this->env, $this->getContext($context, "column"), "html", null, true);
         echo "\">\n               ";
         // line 5
         if (!twig_test_empty($this->getAttribute($this->getAttribute($this->getContext($context, "properties", true), "metrics_documentation", array(), "any", false, true), $this->getContext($context, "column"), array(), "array", true, true) ? _twig_default_filter($this->getAttribute($this->getAttribute($this->getContext($context, "properties", true), "metrics_documentation", array(), "any", false, true), $this->getContext($context, "column"), array(), "array")) : "")) {
             // line 6
             echo "                   <div class=\"columnDocumentation\">\n                       <div class=\"columnDocumentationTitle\">\n                           ";
             // line 8
             echo $this->getAttribute($this->getAttribute($this->getContext($context, "properties", true), "translations", array(), "any", false, true), $this->getContext($context, "column"), array(), "array", true, true) ? _twig_default_filter($this->getAttribute($this->getAttribute($this->getContext($context, "properties", true), "translations", array(), "any", false, true), $this->getContext($context, "column"), array(), "array"), $this->getContext($context, "column")) : $this->getContext($context, "column");
             echo "\n                       </div>\n                       ";
             // line 10
             echo $this->getAttribute($this->getAttribute($this->getContext($context, "properties"), "metrics_documentation"), $this->getContext($context, "column"), array(), "array");
             echo "\n                   </div>\n               ";
         }
         // line 13
         echo "               <div id=\"thDIV\">";
         echo $this->getAttribute($this->getAttribute($this->getContext($context, "properties", true), "translations", array(), "any", false, true), $this->getContext($context, "column"), array(), "array", true, true) ? _twig_default_filter($this->getAttribute($this->getAttribute($this->getContext($context, "properties", true), "translations", array(), "any", false, true), $this->getContext($context, "column"), array(), "array"), $this->getContext($context, "column")) : $this->getContext($context, "column");
         echo "</div>\n           </th>\n       ";
         ++$context['loop']['index0'];
         ++$context['loop']['index'];
         $context['loop']['first'] = false;
         if (isset($context['loop']['length'])) {
             --$context['loop']['revindex0'];
             --$context['loop']['revindex'];
             $context['loop']['last'] = 0 === $context['loop']['revindex0'];
         }
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['column'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 16
     echo "   </tr>\n</thead>\n";
 }
 public function block_form_label($context, array $blocks = array())
 {
     $__internal_f72aa13df2620ba74022dd6d711f42f5b82ec2f482a11505f3b6f2358ef438ee = $this->env->getExtension("native_profiler");
     $__internal_f72aa13df2620ba74022dd6d711f42f5b82ec2f482a11505f3b6f2358ef438ee->enter($__internal_f72aa13df2620ba74022dd6d711f42f5b82ec2f482a11505f3b6f2358ef438ee_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "form_label"));
     // line 25
     echo "    ";
     if (twig_test_empty(isset($context["label"]) ? $context["label"] : $this->getContext($context, "label"))) {
         // line 26
         echo "        ";
         $context["label"] = $this->env->getExtension('form')->humanize(isset($context["name"]) ? $context["name"] : $this->getContext($context, "name"));
         // line 27
         echo "    ";
     }
     // line 28
     echo "    <label for=\"";
     echo twig_escape_filter($this->env, isset($context["id"]) ? $context["id"] : $this->getContext($context, "id"), "html", null, true);
     echo "\">\n        ";
     // line 29
     echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans(isset($context["label"]) ? $context["label"] : $this->getContext($context, "label")), "html", null, true);
     echo "\n        ";
     // line 30
     if (isset($context["required"]) ? $context["required"] : $this->getContext($context, "required")) {
         // line 31
         echo "            <span class=\"symfony-form-required\" title=\"This field is required\">*</span>\n        ";
     }
     // line 33
     echo "    </label>\n";
     $__internal_f72aa13df2620ba74022dd6d711f42f5b82ec2f482a11505f3b6f2358ef438ee->leave($__internal_f72aa13df2620ba74022dd6d711f42f5b82ec2f482a11505f3b6f2358ef438ee_prof);
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     // line 1
     if (twig_test_empty(isset($context["sinceVersion"]) ? $context["sinceVersion"] : null) && twig_test_empty(isset($context["untilVersion"]) ? $context["untilVersion"] : null)) {
         // line 2
         echo "*\n";
     } else {
         // line 4
         echo "    ";
         if (!twig_test_empty(isset($context["sinceVersion"]) ? $context["sinceVersion"] : null)) {
             echo "&gt;=";
             echo twig_escape_filter($this->env, isset($context["sinceVersion"]) ? $context["sinceVersion"] : null, "html", null, true);
         }
         // line 5
         echo "    ";
         if (!twig_test_empty(isset($context["untilVersion"]) ? $context["untilVersion"] : null)) {
             // line 6
             echo "        ";
             if (!twig_test_empty(isset($context["sinceVersion"]) ? $context["sinceVersion"] : null)) {
                 echo ",";
             }
             echo "&lt;=";
             echo twig_escape_filter($this->env, isset($context["untilVersion"]) ? $context["untilVersion"] : null, "html", null, true);
             echo "\n    ";
         }
     }
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     $__internal_9cf7f11b6adec85db7a35661b8f7860da727b3e3d731b6731ee53db761967e92 = $this->env->getExtension("native_profiler");
     $__internal_9cf7f11b6adec85db7a35661b8f7860da727b3e3d731b6731ee53db761967e92->enter($__internal_9cf7f11b6adec85db7a35661b8f7860da727b3e3d731b6731ee53db761967e92_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "core/themes/classy/templates/form/form-element-label.html.twig"));
     $tags = array("set" => 16, "if" => 23);
     $filters = array();
     $functions = array();
     try {
         $this->env->getExtension('sandbox')->checkSecurity(array('set', 'if'), array(), array());
     } catch (Twig_Sandbox_SecurityError $e) {
         $e->setTemplateFile($this->getTemplateName());
         if ($e instanceof Twig_Sandbox_SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
             $e->setTemplateLine($tags[$e->getTagName()]);
         } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
             $e->setTemplateLine($filters[$e->getFilterName()]);
         } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
             $e->setTemplateLine($functions[$e->getFunctionName()]);
         }
         throw $e;
     }
     // line 16
     $context["classes"] = array(0 => (isset($context["title_display"]) ? $context["title_display"] : null) == "after" ? "option" : "", 1 => (isset($context["title_display"]) ? $context["title_display"] : null) == "invisible" ? "visually-hidden" : "", 2 => isset($context["required"]) ? $context["required"] : null ? "js-form-required" : "", 3 => isset($context["required"]) ? $context["required"] : null ? "form-required" : "");
     // line 23
     if (!twig_test_empty(isset($context["title"]) ? $context["title"] : null) || (isset($context["required"]) ? $context["required"] : null)) {
         // line 24
         echo "<label";
         echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, $this->getAttribute(isset($context["attributes"]) ? $context["attributes"] : null, "addClass", array(0 => isset($context["classes"]) ? $context["classes"] : null), "method"), "html", null, true));
         echo ">";
         echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["title"]) ? $context["title"] : null, "html", null, true));
         echo "</label>";
     }
     $__internal_9cf7f11b6adec85db7a35661b8f7860da727b3e3d731b6731ee53db761967e92->leave($__internal_9cf7f11b6adec85db7a35661b8f7860da727b3e3d731b6731ee53db761967e92_prof);
 }
 public function block_input($context, array $blocks = array())
 {
     // line 10
     echo "    <div class=\"form-select-wrapper ";
     echo $this->getAttribute(isset($context["field"]) ? $context["field"] : null, "size", array());
     echo "\">\n        <select class=\"";
     // line 11
     echo $this->getAttribute(isset($context["field"]) ? $context["field"] : null, "classes", array());
     echo "\" name=\"";
     echo $this->env->getExtension('GravTwigExtension')->fieldNameFilter((isset($context["scope"]) ? $context["scope"] : null) . $this->getAttribute(isset($context["field"]) ? $context["field"] : null, "name", array())) . ($this->getAttribute(isset($context["field"]) ? $context["field"] : null, "multiple", array()) ? "[]" : "");
     echo "\"\n                ";
     // line 12
     if (twig_in_filter($this->getAttribute(isset($context["field"]) ? $context["field"] : null, "autofocus", array()), array(0 => "on", 1 => "true", 2 => 1))) {
         echo "autofocus=\"autofocus\"";
     }
     // line 13
     echo "                ";
     if (twig_in_filter($this->getAttribute(isset($context["field"]) ? $context["field"] : null, "novalidate", array()), array(0 => "on", 1 => "true", 2 => 1))) {
         echo "novalidate=\"novalidate\"";
     }
     // line 14
     echo "                ";
     if (twig_in_filter($this->getAttribute($this->getAttribute(isset($context["field"]) ? $context["field"] : null, "validate", array()), "required", array()), array(0 => "on", 1 => "true", 2 => 1))) {
         echo "required=\"required\"";
     }
     // line 15
     echo "                ";
     if (twig_in_filter($this->getAttribute(isset($context["field"]) ? $context["field"] : null, "multiple", array()), array(0 => "on", 1 => "true", 2 => 1))) {
         echo "multiple=\"multiple\"";
     }
     // line 16
     echo "                ";
     if ($this->getAttribute(isset($context["field"]) ? $context["field"] : null, "form", array())) {
         echo "form=\"";
         echo $this->getAttribute(isset($context["field"]) ? $context["field"] : null, "form", array());
         echo "\"";
     }
     // line 17
     echo "                >\n            ";
     // line 18
     $context['_parent'] = $context;
     $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["field"]) ? $context["field"] : null, "options", array()));
     foreach ($context['_seq'] as $context["key"] => $context["text"]) {
         // line 19
         echo "            <option ";
         if ($context["key"] == (isset($context["value"]) ? $context["value"] : null) || twig_in_filter($context["text"], isset($context["value"]) ? $context["value"] : null)) {
             echo "selected=\"selected\"";
         }
         echo " value=\"";
         echo $this->getAttribute(isset($context["field"]) ? $context["field"] : null, "multiple", array()) ? $context["text"] : $context["key"];
         echo "\">";
         echo twig_test_empty($context["key"]) ? $context["text"] : twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", $context["key"]));
         echo "</option>\n            ";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['key'], $context['text'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 21
     echo "        </select>\n    </div>\n";
 }
 public function getlastmodified($__contenttype_slug__ = null, $__content_id__ = null, ...$__varargs__)
 {
     $context = $this->env->mergeGlobals(array("contenttype_slug" => $__contenttype_slug__, "content_id" => $__content_id__, "varargs" => $__varargs__));
     $blocks = array();
     ob_start();
     try {
         // line 23
         echo "    ";
         if ((array_key_exists("content_id", $context) ? _twig_default_filter(isset($context["content_id"]) ? $context["content_id"] : null, false) : false) || !twig_test_empty($this->env->getExtension('Bolt')->stackItems())) {
             // line 24
             echo "        ";
             echo $this->env->getExtension('http_kernel')->renderFragment($this->env->getExtension('routing')->getPath("lastmodified", array("contenttypeslug" => isset($context["contenttype_slug"]) ? $context["contenttype_slug"] : null)));
             echo "\n    ";
         } else {
             // line 26
             echo "        ";
             echo $this->env->getExtension('http_kernel')->renderFragment($this->env->getExtension('routing')->getPath("lastmodified", array("contenttypeslug" => isset($context["contenttype_slug"]) ? $context["contenttype_slug"] : null, "contentid" => isset($context["content_id"]) ? $context["content_id"] : null)));
             echo "\n    ";
         }
     } catch (Exception $e) {
         ob_end_clean();
         throw $e;
     }
     return '' === ($tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
 }
    public function block_form_label($context, array $blocks = array())
    {
        // line 25
        echo "    ";
        if (twig_test_empty((isset($context["label"]) ? $context["label"] : $this->getContext($context, "label")))) {
            // line 26
            echo "        ";
            $context["label"] = $this->env->getExtension('form')->humanize((isset($context["name"]) ? $context["name"] : $this->getContext($context, "name")));
            // line 27
            echo "    ";
        }
        // line 28
        echo "    <label for=\"";
        echo twig_escape_filter($this->env, (isset($context["id"]) ? $context["id"] : $this->getContext($context, "id")), "html", null, true);
        echo "\">
        ";
        // line 29
        echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans((isset($context["label"]) ? $context["label"] : $this->getContext($context, "label"))), "html", null, true);
        echo "
        ";
        // line 30
        if ((isset($context["required"]) ? $context["required"] : $this->getContext($context, "required"))) {
            // line 31
            echo "            <span class=\"symfony-form-required\" title=\"This field is required\">*</span>
        ";
        }
        // line 33
        echo "    </label>
";
    }
 public function block_item($context, array $blocks = array())
 {
     // line 10
     if ($this->getAttribute(isset($context["item"]) ? $context["item"] : $this->getContext($context, "item"), "displayed", array())) {
         // line 12
         $context["display"] = twig_test_empty($this->getAttribute(isset($context["item"]) ? $context["item"] : $this->getContext($context, "item"), "getExtra", array(0 => "roles"), "method")) || $this->env->getExtension('security')->isGranted("ROLE_SUPER_ADMIN");
         // line 13
         $context['_parent'] = (array) $context;
         $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["item"]) ? $context["item"] : $this->getContext($context, "item"), "getExtra", array(0 => "roles"), "method"));
         foreach ($context['_seq'] as $context["_key"] => $context["role"]) {
             if (!(isset($context["display"]) ? $context["display"] : $this->getContext($context, "display"))) {
                 // line 14
                 $context["display"] = $this->env->getExtension('security')->isGranted($context["role"]);
             }
         }
         $_parent = $context['_parent'];
         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['role'], $context['_parent'], $context['loop']);
         $context = array_intersect_key($context, $_parent) + $_parent;
     }
     // line 18
     if ($this->getAttribute(isset($context["item"]) ? $context["item"] : $this->getContext($context, "item"), "displayed", array()) && (array_key_exists("display", $context) ? _twig_default_filter(isset($context["display"]) ? $context["display"] : $this->getContext($context, "display")) : "")) {
         // line 19
         if ($this->getAttribute(isset($context["item"]) ? $context["item"] : $this->getContext($context, "item"), "level", array()) == 1) {
             // line 20
             $this->getAttribute(isset($context["item"]) ? $context["item"] : $this->getContext($context, "item"), "setAttribute", array(0 => "class", 1 => trim($this->getAttribute(isset($context["item"]) ? $context["item"] : $this->getContext($context, "item"), "attribute", array(0 => "class"), "method") . " dropdown")), "method");
         }
         // line 23
         $this->getAttribute(isset($context["item"]) ? $context["item"] : $this->getContext($context, "item"), "setChildrenAttribute", array(0 => "class", 1 => trim($this->getAttribute(isset($context["item"]) ? $context["item"] : $this->getContext($context, "item"), "childrenAttribute", array(0 => "class"), "method") . " dropdown-menu")), "method");
         // line 24
         echo "        ";
         $this->displayParentBlock("item", $context, $blocks);
         echo "\n    ";
     }
 }
 public function block_fos_user_content($context, array $blocks = array())
 {
     $__internal_9fc93b4d2eaa5166c1759847b81c1823cb5943ff554f996eae2f2790262a2713 = $this->env->getExtension("native_profiler");
     $__internal_9fc93b4d2eaa5166c1759847b81c1823cb5943ff554f996eae2f2790262a2713->enter($__internal_9fc93b4d2eaa5166c1759847b81c1823cb5943ff554f996eae2f2790262a2713_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "fos_user_content"));
     // line 4
     echo "    <p>";
     echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans("registration.confirmed", array("%username%" => $this->getAttribute(isset($context["user"]) ? $context["user"] : $this->getContext($context, "user"), "username", array())), "FOSUserBundle"), "html", null, true);
     echo "</p>\n    ";
     // line 5
     if (!twig_test_empty($this->getAttribute(isset($context["app"]) ? $context["app"] : $this->getContext($context, "app"), "session", array()))) {
         // line 6
         echo "        ";
         $context["targetUrl"] = $this->getAttribute($this->getAttribute(isset($context["app"]) ? $context["app"] : $this->getContext($context, "app"), "session", array()), "get", array(0 => "_security." . $this->getAttribute($this->getAttribute($this->getAttribute(isset($context["app"]) ? $context["app"] : $this->getContext($context, "app"), "security", array()), "token", array()), "providerKey", array()) . ".target_path"), "method");
         // line 7
         echo "        ";
         if (!twig_test_empty(isset($context["targetUrl"]) ? $context["targetUrl"] : $this->getContext($context, "targetUrl"))) {
             echo "<p><a href=\"";
             echo twig_escape_filter($this->env, isset($context["targetUrl"]) ? $context["targetUrl"] : $this->getContext($context, "targetUrl"), "html", null, true);
             echo "\">";
             echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans("registration.back", array(), "FOSUserBundle"), "html", null, true);
             echo "</a></p>";
         }
         // line 8
         echo "    ";
     }
     $__internal_9fc93b4d2eaa5166c1759847b81c1823cb5943ff554f996eae2f2790262a2713->leave($__internal_9fc93b4d2eaa5166c1759847b81c1823cb5943ff554f996eae2f2790262a2713_prof);
 }
 public function block_form_label($context, array $blocks = array())
 {
     $__internal_adcfd851e3cf82811e028d7cf62bc2b285cdbf7bdc816ec50b82c3929ca8eb43 = $this->env->getExtension("native_profiler");
     $__internal_adcfd851e3cf82811e028d7cf62bc2b285cdbf7bdc816ec50b82c3929ca8eb43->enter($__internal_adcfd851e3cf82811e028d7cf62bc2b285cdbf7bdc816ec50b82c3929ca8eb43_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "form_label"));
     // line 25
     echo "    ";
     if (twig_test_empty(isset($context["label"]) ? $context["label"] : $this->getContext($context, "label"))) {
         // line 26
         echo "        ";
         $context["label"] = $this->env->getExtension('form')->humanize(isset($context["name"]) ? $context["name"] : $this->getContext($context, "name"));
         // line 27
         echo "    ";
     }
     // line 28
     echo "    <label for=\"";
     echo twig_escape_filter($this->env, isset($context["id"]) ? $context["id"] : $this->getContext($context, "id"), "html", null, true);
     echo "\">\n        ";
     // line 29
     echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans(isset($context["label"]) ? $context["label"] : $this->getContext($context, "label")), "html", null, true);
     echo "\n        ";
     // line 30
     if (isset($context["required"]) ? $context["required"] : $this->getContext($context, "required")) {
         // line 31
         echo "            <span class=\"symfony-form-required\" title=\"This field is required\">*</span>\n        ";
     }
     // line 33
     echo "    </label>\n";
     $__internal_adcfd851e3cf82811e028d7cf62bc2b285cdbf7bdc816ec50b82c3929ca8eb43->leave($__internal_adcfd851e3cf82811e028d7cf62bc2b285cdbf7bdc816ec50b82c3929ca8eb43_prof);
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     $tags = array("if" => 12);
     $filters = array();
     $functions = array();
     try {
         $this->env->getExtension('sandbox')->checkSecurity(array('if'), array(), array());
     } catch (Twig_Sandbox_SecurityError $e) {
         $e->setTemplateFile($this->getTemplateName());
         if ($e instanceof Twig_Sandbox_SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
             $e->setTemplateLine($tags[$e->getTagName()]);
         } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
             $e->setTemplateLine($filters[$e->getFilterName()]);
         } elseif ($e instanceof Twig_Sandbox_SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
             $e->setTemplateLine($functions[$e->getFunctionName()]);
         }
         throw $e;
     }
     // line 12
     if (!twig_test_empty(isset($context["q"]) ? $context["q"] : null)) {
         // line 13
         echo "  ";
         // line 17
         echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["q"]) ? $context["q"] : null, "html", null, true));
         echo "\n";
     }
     // line 19
     echo "<div class=\"form--inline clearfix\">\n  ";
     // line 20
     echo $this->env->getExtension('sandbox')->ensureToStringAllowed($this->env->getExtension('drupal_core')->escapeFilter($this->env, isset($context["form"]) ? $context["form"] : null, "html", null, true));
     echo "\n</div>\n";
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     // line 1
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable($this->getAttribute(isset($context["items"]) ? $context["items"] : null, "draftSchemes", array()));
     foreach ($context['_seq'] as $context["_key"] => $context["scheme"]) {
         // line 2
         echo "    <div class=\"state-panel panel-solid-default no-margin\">\n    \t<a href=\"template?schemeId=";
         // line 3
         echo twig_escape_filter($this->env, $this->getAttribute($context["scheme"], "code", array()), "html", null, true);
         echo "&rand_token=";
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["items"]) ? $context["items"] : null, "nonce", array()), "html", null, true);
         echo "&cpy=true\">\n\t\t\t<div class=\"panel-heading\">\n\t\t\t\t<h3 class=\"panel-title\">";
         // line 5
         echo twig_escape_filter($this->env, $this->getAttribute($context["scheme"], "name", array()), "html", null, true);
         echo " ";
         if (!twig_test_empty($this->getAttribute($context["scheme"], "uid", array()))) {
             echo "(";
             echo twig_escape_filter($this->env, $this->getAttribute($context["scheme"], "uid", array()), "html", null, true);
             echo ")";
         }
         echo "</h3>\n\t\t\t</div>\t\n\t\t</a>\t\t\t\n\t</div>\n";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['scheme'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
 }
 public function block_form_label($context, array $blocks = array())
 {
     $__internal_034ab60a3801f428195580e455d4589d3804fb9e0008ef192ef4e06a97ca7cc7 = $this->env->getExtension("native_profiler");
     $__internal_034ab60a3801f428195580e455d4589d3804fb9e0008ef192ef4e06a97ca7cc7->enter($__internal_034ab60a3801f428195580e455d4589d3804fb9e0008ef192ef4e06a97ca7cc7_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "form_label"));
     // line 25
     echo "    ";
     if (twig_test_empty(isset($context["label"]) ? $context["label"] : $this->getContext($context, "label"))) {
         // line 26
         echo "        ";
         $context["label"] = $this->env->getExtension('form')->humanize(isset($context["name"]) ? $context["name"] : $this->getContext($context, "name"));
         // line 27
         echo "    ";
     }
     // line 28
     echo "    <label for=\"";
     echo twig_escape_filter($this->env, isset($context["id"]) ? $context["id"] : $this->getContext($context, "id"), "html", null, true);
     echo "\">\n        ";
     // line 29
     echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans(isset($context["label"]) ? $context["label"] : $this->getContext($context, "label")), "html", null, true);
     echo "\n        ";
     // line 30
     if (isset($context["required"]) ? $context["required"] : $this->getContext($context, "required")) {
         // line 31
         echo "            <span class=\"symfony-form-required\" title=\"This field is required\">*</span>\n        ";
     }
     // line 33
     echo "    </label>\n";
     $__internal_034ab60a3801f428195580e455d4589d3804fb9e0008ef192ef4e06a97ca7cc7->leave($__internal_034ab60a3801f428195580e455d4589d3804fb9e0008ef192ef4e06a97ca7cc7_prof);
 }
 protected function doDisplay(array $context, array $blocks = array())
 {
     // line 1
     echo "<li class=\"ai1ec-dropdown ai1ec-tag-filter\n\t";
     // line 2
     if (!twig_test_empty(isset($context["selected_tag_ids"]) ? $context["selected_tag_ids"] : null)) {
         echo "ai1ec-active";
     }
     echo "\">\n\t<a class=\"ai1ec-dropdown-toggle\" data-toggle=\"ai1ec-dropdown\">\n\t\t<i class=\"ai1ec-fa ai1ec-fa-tags\"></i>\n\t\t<span class=\"ai1ec-clear-filter ai1ec-tooltip-trigger\"\n\t\t\tdata-href=\"";
     // line 6
     echo twig_escape_filter($this->env, isset($context["clear_filter"]) ? $context["clear_filter"] : null, "html", null, true);
     echo "\"\n\t\t\t";
     // line 7
     echo isset($context["data_type"]) ? $context["data_type"] : null;
     echo "\n\t\t\ttitle=\"";
     // line 8
     echo twig_escape_filter($this->env, isset($context["text_clear_tag_filter"]) ? $context["text_clear_tag_filter"] : null, "html", null, true);
     echo "\">\n\t\t\t<i class=\"ai1ec-fa ai1ec-fa-times-circle\"></i>\n\t\t</span>\n\t\t";
     // line 11
     echo twig_escape_filter($this->env, isset($context["text_tags"]) ? $context["text_tags"] : null, "html", null, true);
     echo "\n\t\t<span class=\"ai1ec-caret\"></span>\n\t</a>\n\t<div class=\"ai1ec-dropdown-menu\">\n\t\t";
     // line 15
     $context['_parent'] = (array) $context;
     $context['_seq'] = twig_ensure_traversable(isset($context["tags"]) ? $context["tags"] : null);
     foreach ($context['_seq'] as $context["_key"] => $context["term"]) {
         // line 16
         echo "\t\t\t<span data-term=\"";
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["term"]) ? $context["term"] : null, "term_id"), "html", null, true);
         echo "\"\n\t\t\t\t";
         // line 17
         if (twig_in_filter($this->getAttribute(isset($context["term"]) ? $context["term"] : null, "term_id"), isset($context["selected_tag_ids"]) ? $context["selected_tag_ids"] : null)) {
             // line 18
             echo "\t\t\t\t\tclass=\"ai1ec-active\"\n\t\t\t\t";
         }
         // line 19
         echo ">\n\t\t\t\t<a class=\"ai1ec-load-view ai1ec-tag\"\n\t\t\t\t\t";
         // line 21
         if (!twig_test_empty($this->getAttribute(isset($context["term"]) ? $context["term"] : null, "description"))) {
             // line 22
             echo "\t\t\t\t\t\ttitle=\"";
             echo twig_escape_filter($this->env, $this->getAttribute(isset($context["term"]) ? $context["term"] : null, "description"), "html_attr");
             echo "\"\n\t\t\t\t\t";
         }
         // line 24
         echo "\t\t\t\t\t";
         echo isset($context["data_type"]) ? $context["data_type"] : null;
         echo "\n\t\t\t\t\thref=\"";
         // line 25
         echo twig_escape_filter($this->env, $this->getAttribute(isset($context["term"]) ? $context["term"] : null, "href"), "html_attr");
         echo "\">\n\t\t\t\t\t";
         // line 26
         echo $this->getAttribute(isset($context["term"]) ? $context["term"] : null, "name");
         echo "\n\t\t\t\t</a>\n\t\t\t</span>\n\t\t";
     }
     $_parent = $context['_parent'];
     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['term'], $context['_parent'], $context['loop']);
     $context = array_intersect_key($context, $_parent) + $_parent;
     // line 30
     echo "\t</div>\n</li>\n";
 }