Document Type
Content Date
Is Public Record?
Yes
Content Access
Public
State
An official website of the United States government Here's how you know ⌄
A .gov website belongs to an official government organization in the United States.
A lock or https:// means you've safely connected to the .gov website.
Share sensitive information only on official, secure websites.
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('69a8ae4c6091d_html.html.twig_hpAvcuyiyliEuIYCSkpo63q2l', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/custom/asc/templates/html/html.html.twig */
class __TwigTemplate_ebb78f26b6b6d2ad71361897b625d942 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 48
$context["body_classes"] = [0 => (( // line 49
($context["site_name"] ?? null)) ? (("site-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(($context["site_name"] ?? null), 49, $this->source)))) : ("")), 1 => (( // line 50
($context["logged_in"] ?? null)) ? ("user-logged-in") : ("")), 2 => (( ! // line 51
($context["root_path"] ?? null)) ? ("path-frontpage") : (("path-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(($context["root_path"] ?? null), 51, $this->source))))), 3 => (( // line 52
($context["node_type"] ?? null)) ? (("page-node-type-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(($context["node_type"] ?? null), 52, $this->source)))) : ("")), 4 => (( // line 53
($context["db_offline"] ?? null)) ? ("db-offline") : ("")), 5 => ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 54
($context["theme"] ?? null), "settings", [], "any", false, false, true, 54), "navbar_position", [], "any", false, false, true, 54)) ? (("navbar-is-" . $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "settings", [], "any", false, false, true, 54), "navbar_position", [], "any", false, false, true, 54), 54, $this->source))) : ("")), 6 => ((twig_get_attribute($this->env, $this->source, // line 55
($context["theme"] ?? null), "has_glyphicons", [], "any", false, false, true, 55)) ? ("has-glyphicons") : ("")), 7 => (( // line 56
($context["home_background"] ?? null)) ? (("body-bg-" . $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["home_background"] ?? null), 0, [], "any", false, false, true, 56), "value", [], "any", false, false, true, 56), 56, $this->source))) : (""))];
// line 59
echo "
extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["html_attributes"] ?? null), 60, $this->source), "html", null, true);
echo ">
extensions['Drupal\Core\Template\TwigExtension']->renderVar($this->sandbox->ensureToStringAllowed(($context["placeholder_token"] ?? null), 62, $this->source));
echo "\">
";
// line 63
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar($this->extensions['Drupal\Core\Template\TwigExtension']->safeJoin($this->env, $this->sandbox->ensureToStringAllowed(($context["head_title"] ?? null), 63, $this->source), " | "));
echo "
\t
\t
extensions['Drupal\Core\Template\TwigExtension']->renderVar($this->sandbox->ensureToStringAllowed(($context["placeholder_token"] ?? null), 66, $this->source));
echo "\">
extensions['Drupal\Core\Template\TwigExtension']->renderVar($this->sandbox->ensureToStringAllowed(($context["placeholder_token"] ?? null), 67, $this->source));
echo "\">
extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "addClass", [0 => ($context["body_classes"] ?? null)], "method", false, false, true, 69), 69, $this->source), "html", null, true);
echo ">
<a>
";
// line 71
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Skip to main content"));
echo "
</a>
\t";
// line 73
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["page_top"] ?? null), 73, $this->source), "html", null, true);
echo "
\t";
// line 74
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["page"] ?? null), 74, $this->source), "html", null, true);
echo "
";
// line 75
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["page_bottom"] ?? null), 75, $this->source), "html", null, true);
echo "
extensions['Drupal\Core\Template\TwigExtension']->renderVar($this->sandbox->ensureToStringAllowed(($context["placeholder_token"] ?? null), 76, $this->source));
echo "\">
";
}
public function getTemplateName()
{
return "themes/custom/asc/templates/html/html.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 98 => 76, 94 => 75, 90 => 74, 86 => 73, 81 => 71, 76 => 69, 71 => 67, 67 => 66, 61 => 63, 57 => 62, 52 => 60, 49 => 59, 47 => 56, 46 => 55, 45 => 54, 44 => 53, 43 => 52, 42 => 51, 41 => 50, 40 => 49, 39 => 48,);
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Default theme implementation to display the basic html structure of a single
* Drupal page.
*
* Variables:
* - \$css: An array of CSS files for the current page.
* - \$language: (object) The language the site is being displayed in.
* \$language->language contains its textual representation.
* \$language->dir contains the language direction. It will either be 'ltr' or
* 'rtl'.
* - \$rdf_namespaces: All the RDF namespace prefixes used in the HTML document.
* - \$grddl_profile: A GRDDL profile allowing agents to extract the RDF data.
* - \$head_title: A modified version of the page title, for use in the TITLE
* tag.
* - \$head_title_array: (array) An associative array containing the string parts
* that were used to generate the \$head_title variable, already prepared to be
* output as TITLE tag. The key/value pairs may contain one or more of the
* following, depending on conditions:
* - title: The title of the current page, if any.
* - name: The name of the site.
* - slogan: The slogan of the site, if any, and if there is no title.
* - \$head: Markup for the HEAD section (including meta tags, keyword tags, and
* so on).
* - \$styles: Style tags necessary to import all CSS files for the page.
* - \$scripts: Script tags necessary to load the JavaScript files and settings
* for the page.
* - \$page_top: Initial markup from any modules that have altered the
* page. This variable should always be output first, before all other dynamic
* content.
* - \$page: The rendered page content.
* - \$page_bottom: Final closing markup from any modules that have altered the
* page. This variable should always be output last, after all other dynamic
* content.
* - \$classes String of classes that can be used to style contextually through
* CSS.
*
* @ingroup templates
*
* @see bootstrap_preprocess_html()
* @see template_preprocess()
* @see template_preprocess_html()
* @see template_process()
*/
#}
{%
set body_classes = [
site_name ? 'site-' ~ site_name|clean_class,
logged_in ? 'user-logged-in',
not root_path ? 'path-frontpage' : 'path-' ~ root_path|clean_class,
node_type ? 'page-node-type-' ~ node_type|clean_class,
db_offline ? 'db-offline',
theme.settings.navbar_position ? 'navbar-is-' ~ theme.settings.navbar_position,
theme.has_glyphicons ? 'has-glyphicons',
\thome_background ? 'body-bg-' ~ home_background.0.value,
]
%}
{{ head_title|safe_join(' | ') }}
\t
\t
<a>
{{ 'Skip to main content'|t }}
</a>
\t{{ page_top }}
\t{{ page }}
{{ page_bottom }}
", "themes/custom/asc/templates/html/html.html.twig", "E:\\websites\\nationalregistry_new\\web\\themes\\custom\\asc\\templates\\html\\html.html.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 48);
static $filters = array("clean_class" => 49, "escape" => 60, "raw" => 62, "safe_join" => 63, "t" => 71);
static $functions = array();
try {
$this->sandbox->checkSecurity(
['set'],
['clean_class', 'escape', 'raw', 'safe_join', 't'],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 112)
Drupal\Core\Template\TwigPhpStorageCache->write('69a8ae4c6091d_html.html.twig_hpAvcuyiyliEuIYCSkpo63q2l', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/custom/asc/templates/html/html.html.twig */
class __TwigTemplate_ebb78f26b6b6d2ad71361897b625d942 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 48
$context["body_classes"] = [0 => (( // line 49
($context["site_name"] ?? null)) ? (("site-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(($context["site_name"] ?? null), 49, $this->source)))) : ("")), 1 => (( // line 50
($context["logged_in"] ?? null)) ? ("user-logged-in") : ("")), 2 => (( ! // line 51
($context["root_path"] ?? null)) ? ("path-frontpage") : (("path-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(($context["root_path"] ?? null), 51, $this->source))))), 3 => (( // line 52
($context["node_type"] ?? null)) ? (("page-node-type-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(($context["node_type"] ?? null), 52, $this->source)))) : ("")), 4 => (( // line 53
($context["db_offline"] ?? null)) ? ("db-offline") : ("")), 5 => ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 54
($context["theme"] ?? null), "settings", [], "any", false, false, true, 54), "navbar_position", [], "any", false, false, true, 54)) ? (("navbar-is-" . $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "settings", [], "any", false, false, true, 54), "navbar_position", [], "any", false, false, true, 54), 54, $this->source))) : ("")), 6 => ((twig_get_attribute($this->env, $this->source, // line 55
($context["theme"] ?? null), "has_glyphicons", [], "any", false, false, true, 55)) ? ("has-glyphicons") : ("")), 7 => (( // line 56
($context["home_background"] ?? null)) ? (("body-bg-" . $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["home_background"] ?? null), 0, [], "any", false, false, true, 56), "value", [], "any", false, false, true, 56), 56, $this->source))) : (""))];
// line 59
echo "
extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["html_attributes"] ?? null), 60, $this->source), "html", null, true);
echo ">
extensions['Drupal\Core\Template\TwigExtension']->renderVar($this->sandbox->ensureToStringAllowed(($context["placeholder_token"] ?? null), 62, $this->source));
echo "\">
";
// line 63
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar($this->extensions['Drupal\Core\Template\TwigExtension']->safeJoin($this->env, $this->sandbox->ensureToStringAllowed(($context["head_title"] ?? null), 63, $this->source), " | "));
echo "
\t
\t
extensions['Drupal\Core\Template\TwigExtension']->renderVar($this->sandbox->ensureToStringAllowed(($context["placeholder_token"] ?? null), 66, $this->source));
echo "\">
extensions['Drupal\Core\Template\TwigExtension']->renderVar($this->sandbox->ensureToStringAllowed(($context["placeholder_token"] ?? null), 67, $this->source));
echo "\">
extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "addClass", [0 => ($context["body_classes"] ?? null)], "method", false, false, true, 69), 69, $this->source), "html", null, true);
echo ">
<a>
";
// line 71
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Skip to main content"));
echo "
</a>
\t";
// line 73
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["page_top"] ?? null), 73, $this->source), "html", null, true);
echo "
\t";
// line 74
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["page"] ?? null), 74, $this->source), "html", null, true);
echo "
";
// line 75
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["page_bottom"] ?? null), 75, $this->source), "html", null, true);
echo "
extensions['Drupal\Core\Template\TwigExtension']->renderVar($this->sandbox->ensureToStringAllowed(($context["placeholder_token"] ?? null), 76, $this->source));
echo "\">
";
}
public function getTemplateName()
{
return "themes/custom/asc/templates/html/html.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 98 => 76, 94 => 75, 90 => 74, 86 => 73, 81 => 71, 76 => 69, 71 => 67, 67 => 66, 61 => 63, 57 => 62, 52 => 60, 49 => 59, 47 => 56, 46 => 55, 45 => 54, 44 => 53, 43 => 52, 42 => 51, 41 => 50, 40 => 49, 39 => 48,);
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Default theme implementation to display the basic html structure of a single
* Drupal page.
*
* Variables:
* - \$css: An array of CSS files for the current page.
* - \$language: (object) The language the site is being displayed in.
* \$language->language contains its textual representation.
* \$language->dir contains the language direction. It will either be 'ltr' or
* 'rtl'.
* - \$rdf_namespaces: All the RDF namespace prefixes used in the HTML document.
* - \$grddl_profile: A GRDDL profile allowing agents to extract the RDF data.
* - \$head_title: A modified version of the page title, for use in the TITLE
* tag.
* - \$head_title_array: (array) An associative array containing the string parts
* that were used to generate the \$head_title variable, already prepared to be
* output as TITLE tag. The key/value pairs may contain one or more of the
* following, depending on conditions:
* - title: The title of the current page, if any.
* - name: The name of the site.
* - slogan: The slogan of the site, if any, and if there is no title.
* - \$head: Markup for the HEAD section (including meta tags, keyword tags, and
* so on).
* - \$styles: Style tags necessary to import all CSS files for the page.
* - \$scripts: Script tags necessary to load the JavaScript files and settings
* for the page.
* - \$page_top: Initial markup from any modules that have altered the
* page. This variable should always be output first, before all other dynamic
* content.
* - \$page: The rendered page content.
* - \$page_bottom: Final closing markup from any modules that have altered the
* page. This variable should always be output last, after all other dynamic
* content.
* - \$classes String of classes that can be used to style contextually through
* CSS.
*
* @ingroup templates
*
* @see bootstrap_preprocess_html()
* @see template_preprocess()
* @see template_preprocess_html()
* @see template_process()
*/
#}
{%
set body_classes = [
site_name ? 'site-' ~ site_name|clean_class,
logged_in ? 'user-logged-in',
not root_path ? 'path-frontpage' : 'path-' ~ root_path|clean_class,
node_type ? 'page-node-type-' ~ node_type|clean_class,
db_offline ? 'db-offline',
theme.settings.navbar_position ? 'navbar-is-' ~ theme.settings.navbar_position,
theme.has_glyphicons ? 'has-glyphicons',
\thome_background ? 'body-bg-' ~ home_background.0.value,
]
%}
{{ head_title|safe_join(' | ') }}
\t
\t
<a>
{{ 'Skip to main content'|t }}
</a>
\t{{ page_top }}
\t{{ page }}
{{ page_bottom }}
", "themes/custom/asc/templates/html/html.html.twig", "E:\\websites\\nationalregistry_new\\web\\themes\\custom\\asc\\templates\\html\\html.html.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 48);
static $filters = array("clean_class" => 49, "escape" => 60, "raw" => 62, "safe_join" => 63, "t" => 71);
static $functions = array();
try {
$this->sandbox->checkSecurity(
['set'],
['clean_class', 'escape', 'raw', 'safe_join', 't'],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 352)
Twig\Environment->loadTemplate('__TwigTemplate_ebb78f26b6b6d2ad71361897b625d942', 'themes/custom/asc/templates/html/html.html.twig') (Line: 312)
Twig\Environment->load('themes/custom/asc/templates/html/html.html.twig') (Line: 53)
twig_render_template('themes/custom/asc/templates/html/html.html.twig', Array) (Line: 372)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 445)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array) (Line: 158)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 592)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 159)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 186)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('69a8ae4c6091d_page.html.twig_TCX2lQNyjGH4lRsJbtW10AbX5', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/custom/asc/templates/page.html.twig */
class __TwigTemplate_d8cd7175826f7c3d13b63831b9608968 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'navbar' => [$this, 'block_navbar'],
'main' => [$this, 'block_main'],
'header' => [$this, 'block_header'],
'sidebar_first' => [$this, 'block_sidebar_first'],
'highlighted' => [$this, 'block_highlighted'],
'help' => [$this, 'block_help'],
'content' => [$this, 'block_content'],
'map' => [$this, 'block_map'],
'sidebar_second' => [$this, 'block_sidebar_second'],
'footer' => [$this, 'block_footer'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 54
if ((twig_date_converter($this->env) <= twig_date_converter($this->env, "2023-05-28 13:00:00"))) {
// line 55
echo " ";
$this->loadTemplate("sitealert.html.twig", "themes/custom/asc/templates/page.html.twig", 55)->display($context);
}
// line 57
$context["container"] = ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "settings", [], "any", false, false, true, 57), "fluid_container", [], "any", false, false, true, 57)) ? ("container-fluid") : ("container-fluid"));
// line 59
if ((twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "navigation", [], "any", false, false, true, 59) || twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "navigation_collapsible", [], "any", false, false, true, 59))) {
// line 60
echo " ";
$this->displayBlock('navbar', $context, $blocks);
}
// line 104
echo "
";
// line 106
$this->displayBlock('main', $context, $blocks);
// line 181
echo "
";
// line 182
if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "footer", [], "any", false, false, true, 182)) {
// line 183
echo " ";
$this->displayBlock('footer', $context, $blocks);
}
}
// line 60
public function block_navbar($context, array $blocks = [])
{
$macros = $this->macros;
// line 61
echo " ";
// line 62
$context["navbar_classes"] = [0 => "navbar", 1 => ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 64
($context["theme"] ?? null), "settings", [], "any", false, false, true, 64), "navbar_inverse", [], "any", false, false, true, 64)) ? ("navbar-inverse") : ("navbar-default")), 2 => ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 65
($context["theme"] ?? null), "settings", [], "any", false, false, true, 65), "navbar_position", [], "any", false, false, true, 65)) ? (("navbar-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "settings", [], "any", false, false, true, 65), "navbar_position", [], "any", false, false, true, 65), 65, $this->source)))) : (($context["container"] ?? null)))];
// line 68
echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["navbar_attributes"] ?? null), "addClass", [0 => ($context["navbar_classes"] ?? null)], "method", false, false, true, 68), 68, $this->source), "html", null, true);
echo " id=\"navbar\" role=\"banner\">
";
// line 70
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "top_content", [], "any", false, false, true, 70)) {
// line 71
echo "
";
// line 72
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "top_content", [], "any", false, false, true, 72), 72, $this->source), "html", null, true);
echo "
";
}
// line 75
echo "\t
\t ";
// line 76
if ( !twig_get_attribute($this->env, $this->source, ($context["navbar_attributes"] ?? null), "hasClass", [0 => ($context["container"] ?? null)], "method", false, false, true, 76)) {
// line 77
echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["container"] ?? null), 77, $this->source), "html", null, true);
echo "\">
";
}
// line 79
echo "
";
// line 80
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "navigation", [], "any", false, false, true, 80), 80, $this->source), "html", null, true);
echo "
";
// line 82
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "navigation_collapsible", [], "any", false, false, true, 82)) {
// line 83
echo "
";
// line 84
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Toggle navigation"));
echo "
";
}
// line 90
echo "
";
// line 93
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "navigation_collapsible", [], "any", false, false, true, 93)) {
// line 94
echo "
";
// line 95
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "navigation_collapsible", [], "any", false, false, true, 95), 95, $this->source), "html", null, true);
echo "
";
}
// line 98
echo " ";
if ( !twig_get_attribute($this->env, $this->source, ($context["navbar_attributes"] ?? null), "hasClass", [0 => ($context["container"] ?? null)], "method", false, false, true, 98)) {
// line 99
echo "
";
}
// line 101
echo "
";
}
// line 106
public function block_main($context, array $blocks = [])
{
$macros = $this->macros;
// line 107
echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["container"] ?? null), 107, $this->source), "html", null, true);
echo " js-quickedit-main-content node-id-";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "id", [], "any", false, false, true, 107), 107, $this->source), "html", null, true);
echo "\">
";
// line 111
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "header", [], "any", false, false, true, 111)) {
// line 112
echo " ";
$this->displayBlock('header', $context, $blocks);
// line 117
echo " ";
}
// line 118
echo "
";
// line 120
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_first", [], "any", false, false, true, 120)) {
// line 121
echo " ";
$this->displayBlock('sidebar_first', $context, $blocks);
// line 126
echo " ";
}
// line 127
echo "
";
// line 129
echo " ";
// line 130
$context["content_classes"] = [0 => (((twig_get_attribute($this->env, $this->source, // line 131
($context["page"] ?? null), "sidebar_first", [], "any", false, false, true, 131) && twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_second", [], "any", false, false, true, 131))) ? ("col-sm-6") : ("")), 1 => (((twig_get_attribute($this->env, $this->source, // line 132
($context["page"] ?? null), "sidebar_first", [], "any", false, false, true, 132) && twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_second", [], "any", false, false, true, 132)))) ? ("col-sm-9") : ("")), 2 => (((twig_get_attribute($this->env, $this->source, // line 133
($context["page"] ?? null), "sidebar_second", [], "any", false, false, true, 133) && twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_first", [], "any", false, false, true, 133)))) ? ("col-sm-9") : ("")), 3 => (((twig_test_empty(twig_get_attribute($this->env, $this->source, // line 134
($context["page"] ?? null), "sidebar_first", [], "any", false, false, true, 134)) && twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_second", [], "any", false, false, true, 134)))) ? ("col-sm-12") : (""))];
// line 137
echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["content_attributes"] ?? null), "addClass", [0 => ($context["content_classes"] ?? null)], "method", false, false, true, 137), 137, $this->source), "html", null, true);
echo ">
";
// line 140
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "highlighted", [], "any", false, false, true, 140)) {
// line 141
echo " ";
$this->displayBlock('highlighted', $context, $blocks);
// line 144
echo " ";
}
// line 145
echo "
";
// line 147
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "help", [], "any", false, false, true, 147)) {
// line 148
echo " ";
$this->displayBlock('help', $context, $blocks);
// line 151
echo " ";
}
// line 152
echo "
<a></a>
\t\t ";
// line 157
echo " ";
$this->displayBlock('content', $context, $blocks);
// line 160
echo "\t\t
\t\t ";
// line 162
echo "\t\t ";
if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "map", [], "any", false, false, true, 162)) {
// line 163
echo "\t\t ";
$this->displayBlock('map', $context, $blocks);
// line 166
echo "\t\t ";
}
// line 167
echo "
";
// line 171
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_second", [], "any", false, false, true, 171)) {
// line 172
echo " ";
$this->displayBlock('sidebar_second', $context, $blocks);
// line 177
echo " ";
}
// line 178
echo "
";
}
// line 112
public function block_header($context, array $blocks = [])
{
$macros = $this->macros;
// line 113
echo "
";
// line 114
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "header", [], "any", false, false, true, 114), 114, $this->source), "html", null, true);
echo "
";
}
// line 121
public function block_sidebar_first($context, array $blocks = [])
{
$macros = $this->macros;
// line 122
echo "
";
// line 123
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_first", [], "any", false, false, true, 123), 123, $this->source), "html", null, true);
echo "
";
}
// line 141
public function block_highlighted($context, array $blocks = [])
{
$macros = $this->macros;
// line 142
echo " ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "highlighted", [], "any", false, false, true, 142), 142, $this->source), "html", null, true);
echo "
";
}
// line 148
public function block_help($context, array $blocks = [])
{
$macros = $this->macros;
// line 149
echo " ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "help", [], "any", false, false, true, 149), 149, $this->source), "html", null, true);
echo "
";
}
// line 157
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
// line 158
echo "\t\t\t";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "content", [], "any", false, false, true, 158), 158, $this->source), "html", null, true);
echo "
\t\t ";
}
// line 163
public function block_map($context, array $blocks = [])
{
$macros = $this->macros;
// line 164
echo "\t\t ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "map", [], "any", false, false, true, 164), 164, $this->source), "html", null, true);
echo "
\t\t\t";
}
// line 172
public function block_sidebar_second($context, array $blocks = [])
{
$macros = $this->macros;
// line 173
echo "
";
// line 174
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_second", [], "any", false, false, true, 174), 174, $this->source), "html", null, true);
echo "
";
}
// line 183
public function block_footer($context, array $blocks = [])
{
$macros = $this->macros;
// line 184
echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["container"] ?? null), 184, $this->source), "html", null, true);
echo "\" role=\"contentinfo\">
";
// line 185
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "footer", [], "any", false, false, true, 185), 185, $this->source), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "themes/custom/asc/templates/page.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 375 => 185, 370 => 184, 366 => 183, 359 => 174, 356 => 173, 352 => 172, 345 => 164, 341 => 163, 334 => 158, 330 => 157, 323 => 149, 319 => 148, 312 => 142, 308 => 141, 301 => 123, 298 => 122, 294 => 121, 287 => 114, 284 => 113, 280 => 112, 274 => 178, 271 => 177, 268 => 172, 265 => 171, 260 => 167, 257 => 166, 254 => 163, 251 => 162, 248 => 160, 245 => 157, 239 => 152, 236 => 151, 233 => 148, 230 => 147, 227 => 145, 224 => 144, 221 => 141, 218 => 140, 212 => 137, 210 => 134, 209 => 133, 208 => 132, 207 => 131, 206 => 130, 204 => 129, 201 => 127, 198 => 126, 195 => 121, 192 => 120, 189 => 118, 186 => 117, 183 => 112, 180 => 111, 171 => 107, 167 => 106, 162 => 101, 158 => 99, 155 => 98, 149 => 95, 146 => 94, 143 => 93, 139 => 90, 130 => 84, 127 => 83, 124 => 82, 120 => 80, 117 => 79, 111 => 77, 109 => 76, 106 => 75, 100 => 72, 97 => 71, 94 => 70, 89 => 68, 87 => 65, 86 => 64, 85 => 62, 83 => 61, 79 => 60, 73 => 183, 71 => 182, 68 => 181, 66 => 106, 63 => 104, 59 => 60, 57 => 59, 55 => 57, 51 => 55, 49 => 54,);
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Default theme implementation to display a single page.
*
* The doctype, html, head and body tags are not in this template. Instead they
* can be found in the html.html.twig template in this directory.
*
* Available variables:
*
* General utility variables:
* - base_path: The base URL path of the Drupal installation. Will usually be
* \"/\" unless you have installed Drupal in a sub-directory.
* - is_front: A flag indicating if the current page is the front page.
* - logged_in: A flag indicating if the user is registered and signed in.
* - is_admin: A flag indicating if the user has permission to access
* administration pages.
*
* Site identity:
* - front_page: The URL of the front page. Use this instead of base_path when
* linking to the front page. This includes the language domain or prefix.
*
* Page content (in order of occurrence in the default page.html.twig):
* - title_prefix: Additional output populated by modules, intended to be
* displayed in front of the main title tag that appears in the template.
* - title: The page title, for use in the actual content.
* - title_suffix: Additional output populated by modules, intended to be
* displayed after the main title tag that appears in the template.
* - messages: Status and error messages. Should be displayed prominently.
* - tabs: Tabs linking to any sub-pages beneath the current page (e.g., the
* view and edit tabs when displaying a node).
* - node: Fully loaded node, if there is an automatically-loaded node
* associated with the page and the node ID is the second argument in the
* page's path (e.g. node/12345 and node/12345/revisions, but not
* comment/reply/12345).
*
* Regions:
* - page.header: Items for the header region.
* - page.navigation: Items for the navigation region.
* - page.navigation_collapsible: Items for the navigation (collapsible) region.
* - page.highlighted: Items for the highlighted content region.
* - page.help: Dynamic help text, mostly for admin pages.
* - page.content: The main content of the current page.
* - page.sidebar_first: Items for the first sidebar.
* - page.sidebar_second: Items for the second sidebar.
* - page.footer: Items for the footer region.
*
* @ingroup templates
*
* @see template_preprocess_page()
* @see html.html.twig
*/
#}
{% if date() <= date('2023-05-28 13:00:00') %}
{% include 'sitealert.html.twig' %}
{% endif %}
{% set container = theme.settings.fluid_container ? 'container-fluid' : 'container-fluid' %}
{# Navbar #}
{% if page.navigation or page.navigation_collapsible %}
{% block navbar %}
{%
set navbar_classes = [
'navbar',
theme.settings.navbar_inverse ? 'navbar-inverse' : 'navbar-default',
theme.settings.navbar_position ? 'navbar-' ~ theme.settings.navbar_position|clean_class : container,
]
%}
{# Top Content #}
{% if page.top_content %}
{{ page.top_content }}
{% endif %}
\t
\t {% if not navbar_attributes.hasClass(container) %}
{% endif %}
{{ page.navigation }}
{# .btn-navbar is used as the toggle for collapsed navbar content #}
{% if page.navigation_collapsible %}
{{ 'Toggle navigation'|t }}
{% endif %}
{# Navigation (collapsible) #}
{% if page.navigation_collapsible %}
{{ page.navigation_collapsible }}
{% endif %}
{% if not navbar_attributes.hasClass(container) %}
{% endif %}
{% endblock %}
{% endif %}
{# Main #}
{% block main %}
{# Header #}
{% if page.header %}
{% block header %}
{{ page.header }}
{% endblock %}
{% endif %}
{# Sidebar First #}
{% if page.sidebar_first %}
{% block sidebar_first %}
{{ page.sidebar_first }}
{% endblock %}
{% endif %}
{# Content #}
{%
set content_classes = [
page.sidebar_first and page.sidebar_second ? 'col-sm-6',
page.sidebar_first and page.sidebar_second is empty ? 'col-sm-9',
page.sidebar_second and page.sidebar_first is empty ? 'col-sm-9',
page.sidebar_first is empty and page.sidebar_second is empty ? 'col-sm-12'
]
%}
{# Highlighted #}
{% if page.highlighted %}
{% block highlighted %}
{{ page.highlighted }}
{% endblock %}
{% endif %}
{# Help #}
{% if page.help %}
{% block help %}
{{ page.help }}
{% endblock %}
{% endif %}
<a></a>
\t\t {# Content #}
{% block content %}
\t\t\t{{ page.content }}
\t\t {% endblock %}
\t\t
\t\t {# Map #}
\t\t {% if page.map %}
\t\t {% block map %}
\t\t {{ page.map }}
\t\t\t{% endblock %}
\t\t {% endif %}
{# Sidebar Second #}
{% if page.sidebar_second %}
{% block sidebar_second %}
{{ page.sidebar_second }}
{% endblock %}
{% endif %}
{% endblock %}
{% if page.footer %}
{% block footer %}
{{ page.footer }}
{% endblock %}
{% endif %}
", "themes/custom/asc/templates/page.html.twig", "E:\\websites\\nationalregistry_new\\web\\themes\\custom\\asc\\templates\\page.html.twig");
}
public function checkSecurity()
{
static $tags = array("if" => 54, "include" => 55, "set" => 57, "block" => 60);
static $filters = array("clean_class" => 65, "escape" => 68, "t" => 84);
static $functions = array("date" => 54);
try {
$this->sandbox->checkSecurity(
['if', 'include', 'set', 'block'],
['clean_class', 'escape', 't'],
['date']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 112)
Drupal\Core\Template\TwigPhpStorageCache->write('69a8ae4c6091d_page.html.twig_TCX2lQNyjGH4lRsJbtW10AbX5', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/custom/asc/templates/page.html.twig */
class __TwigTemplate_d8cd7175826f7c3d13b63831b9608968 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'navbar' => [$this, 'block_navbar'],
'main' => [$this, 'block_main'],
'header' => [$this, 'block_header'],
'sidebar_first' => [$this, 'block_sidebar_first'],
'highlighted' => [$this, 'block_highlighted'],
'help' => [$this, 'block_help'],
'content' => [$this, 'block_content'],
'map' => [$this, 'block_map'],
'sidebar_second' => [$this, 'block_sidebar_second'],
'footer' => [$this, 'block_footer'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 54
if ((twig_date_converter($this->env) <= twig_date_converter($this->env, "2023-05-28 13:00:00"))) {
// line 55
echo " ";
$this->loadTemplate("sitealert.html.twig", "themes/custom/asc/templates/page.html.twig", 55)->display($context);
}
// line 57
$context["container"] = ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "settings", [], "any", false, false, true, 57), "fluid_container", [], "any", false, false, true, 57)) ? ("container-fluid") : ("container-fluid"));
// line 59
if ((twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "navigation", [], "any", false, false, true, 59) || twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "navigation_collapsible", [], "any", false, false, true, 59))) {
// line 60
echo " ";
$this->displayBlock('navbar', $context, $blocks);
}
// line 104
echo "
";
// line 106
$this->displayBlock('main', $context, $blocks);
// line 181
echo "
";
// line 182
if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "footer", [], "any", false, false, true, 182)) {
// line 183
echo " ";
$this->displayBlock('footer', $context, $blocks);
}
}
// line 60
public function block_navbar($context, array $blocks = [])
{
$macros = $this->macros;
// line 61
echo " ";
// line 62
$context["navbar_classes"] = [0 => "navbar", 1 => ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 64
($context["theme"] ?? null), "settings", [], "any", false, false, true, 64), "navbar_inverse", [], "any", false, false, true, 64)) ? ("navbar-inverse") : ("navbar-default")), 2 => ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 65
($context["theme"] ?? null), "settings", [], "any", false, false, true, 65), "navbar_position", [], "any", false, false, true, 65)) ? (("navbar-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["theme"] ?? null), "settings", [], "any", false, false, true, 65), "navbar_position", [], "any", false, false, true, 65), 65, $this->source)))) : (($context["container"] ?? null)))];
// line 68
echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["navbar_attributes"] ?? null), "addClass", [0 => ($context["navbar_classes"] ?? null)], "method", false, false, true, 68), 68, $this->source), "html", null, true);
echo " id=\"navbar\" role=\"banner\">
";
// line 70
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "top_content", [], "any", false, false, true, 70)) {
// line 71
echo "
";
// line 72
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "top_content", [], "any", false, false, true, 72), 72, $this->source), "html", null, true);
echo "
";
}
// line 75
echo "\t
\t ";
// line 76
if ( !twig_get_attribute($this->env, $this->source, ($context["navbar_attributes"] ?? null), "hasClass", [0 => ($context["container"] ?? null)], "method", false, false, true, 76)) {
// line 77
echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["container"] ?? null), 77, $this->source), "html", null, true);
echo "\">
";
}
// line 79
echo "
";
// line 80
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "navigation", [], "any", false, false, true, 80), 80, $this->source), "html", null, true);
echo "
";
// line 82
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "navigation_collapsible", [], "any", false, false, true, 82)) {
// line 83
echo "
";
// line 84
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(t("Toggle navigation"));
echo "
";
}
// line 90
echo "
";
// line 93
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "navigation_collapsible", [], "any", false, false, true, 93)) {
// line 94
echo "
";
// line 95
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "navigation_collapsible", [], "any", false, false, true, 95), 95, $this->source), "html", null, true);
echo "
";
}
// line 98
echo " ";
if ( !twig_get_attribute($this->env, $this->source, ($context["navbar_attributes"] ?? null), "hasClass", [0 => ($context["container"] ?? null)], "method", false, false, true, 98)) {
// line 99
echo "
";
}
// line 101
echo "
";
}
// line 106
public function block_main($context, array $blocks = [])
{
$macros = $this->macros;
// line 107
echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["container"] ?? null), 107, $this->source), "html", null, true);
echo " js-quickedit-main-content node-id-";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["node"] ?? null), "id", [], "any", false, false, true, 107), 107, $this->source), "html", null, true);
echo "\">
";
// line 111
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "header", [], "any", false, false, true, 111)) {
// line 112
echo " ";
$this->displayBlock('header', $context, $blocks);
// line 117
echo " ";
}
// line 118
echo "
";
// line 120
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_first", [], "any", false, false, true, 120)) {
// line 121
echo " ";
$this->displayBlock('sidebar_first', $context, $blocks);
// line 126
echo " ";
}
// line 127
echo "
";
// line 129
echo " ";
// line 130
$context["content_classes"] = [0 => (((twig_get_attribute($this->env, $this->source, // line 131
($context["page"] ?? null), "sidebar_first", [], "any", false, false, true, 131) && twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_second", [], "any", false, false, true, 131))) ? ("col-sm-6") : ("")), 1 => (((twig_get_attribute($this->env, $this->source, // line 132
($context["page"] ?? null), "sidebar_first", [], "any", false, false, true, 132) && twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_second", [], "any", false, false, true, 132)))) ? ("col-sm-9") : ("")), 2 => (((twig_get_attribute($this->env, $this->source, // line 133
($context["page"] ?? null), "sidebar_second", [], "any", false, false, true, 133) && twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_first", [], "any", false, false, true, 133)))) ? ("col-sm-9") : ("")), 3 => (((twig_test_empty(twig_get_attribute($this->env, $this->source, // line 134
($context["page"] ?? null), "sidebar_first", [], "any", false, false, true, 134)) && twig_test_empty(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_second", [], "any", false, false, true, 134)))) ? ("col-sm-12") : (""))];
// line 137
echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["content_attributes"] ?? null), "addClass", [0 => ($context["content_classes"] ?? null)], "method", false, false, true, 137), 137, $this->source), "html", null, true);
echo ">
";
// line 140
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "highlighted", [], "any", false, false, true, 140)) {
// line 141
echo " ";
$this->displayBlock('highlighted', $context, $blocks);
// line 144
echo " ";
}
// line 145
echo "
";
// line 147
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "help", [], "any", false, false, true, 147)) {
// line 148
echo " ";
$this->displayBlock('help', $context, $blocks);
// line 151
echo " ";
}
// line 152
echo "
<a></a>
\t\t ";
// line 157
echo " ";
$this->displayBlock('content', $context, $blocks);
// line 160
echo "\t\t
\t\t ";
// line 162
echo "\t\t ";
if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "map", [], "any", false, false, true, 162)) {
// line 163
echo "\t\t ";
$this->displayBlock('map', $context, $blocks);
// line 166
echo "\t\t ";
}
// line 167
echo "
";
// line 171
echo " ";
if (twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_second", [], "any", false, false, true, 171)) {
// line 172
echo " ";
$this->displayBlock('sidebar_second', $context, $blocks);
// line 177
echo " ";
}
// line 178
echo "
";
}
// line 112
public function block_header($context, array $blocks = [])
{
$macros = $this->macros;
// line 113
echo "
";
// line 114
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "header", [], "any", false, false, true, 114), 114, $this->source), "html", null, true);
echo "
";
}
// line 121
public function block_sidebar_first($context, array $blocks = [])
{
$macros = $this->macros;
// line 122
echo "
";
// line 123
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_first", [], "any", false, false, true, 123), 123, $this->source), "html", null, true);
echo "
";
}
// line 141
public function block_highlighted($context, array $blocks = [])
{
$macros = $this->macros;
// line 142
echo " ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "highlighted", [], "any", false, false, true, 142), 142, $this->source), "html", null, true);
echo "
";
}
// line 148
public function block_help($context, array $blocks = [])
{
$macros = $this->macros;
// line 149
echo " ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "help", [], "any", false, false, true, 149), 149, $this->source), "html", null, true);
echo "
";
}
// line 157
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
// line 158
echo "\t\t\t";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "content", [], "any", false, false, true, 158), 158, $this->source), "html", null, true);
echo "
\t\t ";
}
// line 163
public function block_map($context, array $blocks = [])
{
$macros = $this->macros;
// line 164
echo "\t\t ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "map", [], "any", false, false, true, 164), 164, $this->source), "html", null, true);
echo "
\t\t\t";
}
// line 172
public function block_sidebar_second($context, array $blocks = [])
{
$macros = $this->macros;
// line 173
echo "
";
// line 174
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "sidebar_second", [], "any", false, false, true, 174), 174, $this->source), "html", null, true);
echo "
";
}
// line 183
public function block_footer($context, array $blocks = [])
{
$macros = $this->macros;
// line 184
echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["container"] ?? null), 184, $this->source), "html", null, true);
echo "\" role=\"contentinfo\">
";
// line 185
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["page"] ?? null), "footer", [], "any", false, false, true, 185), 185, $this->source), "html", null, true);
echo "
";
}
public function getTemplateName()
{
return "themes/custom/asc/templates/page.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 375 => 185, 370 => 184, 366 => 183, 359 => 174, 356 => 173, 352 => 172, 345 => 164, 341 => 163, 334 => 158, 330 => 157, 323 => 149, 319 => 148, 312 => 142, 308 => 141, 301 => 123, 298 => 122, 294 => 121, 287 => 114, 284 => 113, 280 => 112, 274 => 178, 271 => 177, 268 => 172, 265 => 171, 260 => 167, 257 => 166, 254 => 163, 251 => 162, 248 => 160, 245 => 157, 239 => 152, 236 => 151, 233 => 148, 230 => 147, 227 => 145, 224 => 144, 221 => 141, 218 => 140, 212 => 137, 210 => 134, 209 => 133, 208 => 132, 207 => 131, 206 => 130, 204 => 129, 201 => 127, 198 => 126, 195 => 121, 192 => 120, 189 => 118, 186 => 117, 183 => 112, 180 => 111, 171 => 107, 167 => 106, 162 => 101, 158 => 99, 155 => 98, 149 => 95, 146 => 94, 143 => 93, 139 => 90, 130 => 84, 127 => 83, 124 => 82, 120 => 80, 117 => 79, 111 => 77, 109 => 76, 106 => 75, 100 => 72, 97 => 71, 94 => 70, 89 => 68, 87 => 65, 86 => 64, 85 => 62, 83 => 61, 79 => 60, 73 => 183, 71 => 182, 68 => 181, 66 => 106, 63 => 104, 59 => 60, 57 => 59, 55 => 57, 51 => 55, 49 => 54,);
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Default theme implementation to display a single page.
*
* The doctype, html, head and body tags are not in this template. Instead they
* can be found in the html.html.twig template in this directory.
*
* Available variables:
*
* General utility variables:
* - base_path: The base URL path of the Drupal installation. Will usually be
* \"/\" unless you have installed Drupal in a sub-directory.
* - is_front: A flag indicating if the current page is the front page.
* - logged_in: A flag indicating if the user is registered and signed in.
* - is_admin: A flag indicating if the user has permission to access
* administration pages.
*
* Site identity:
* - front_page: The URL of the front page. Use this instead of base_path when
* linking to the front page. This includes the language domain or prefix.
*
* Page content (in order of occurrence in the default page.html.twig):
* - title_prefix: Additional output populated by modules, intended to be
* displayed in front of the main title tag that appears in the template.
* - title: The page title, for use in the actual content.
* - title_suffix: Additional output populated by modules, intended to be
* displayed after the main title tag that appears in the template.
* - messages: Status and error messages. Should be displayed prominently.
* - tabs: Tabs linking to any sub-pages beneath the current page (e.g., the
* view and edit tabs when displaying a node).
* - node: Fully loaded node, if there is an automatically-loaded node
* associated with the page and the node ID is the second argument in the
* page's path (e.g. node/12345 and node/12345/revisions, but not
* comment/reply/12345).
*
* Regions:
* - page.header: Items for the header region.
* - page.navigation: Items for the navigation region.
* - page.navigation_collapsible: Items for the navigation (collapsible) region.
* - page.highlighted: Items for the highlighted content region.
* - page.help: Dynamic help text, mostly for admin pages.
* - page.content: The main content of the current page.
* - page.sidebar_first: Items for the first sidebar.
* - page.sidebar_second: Items for the second sidebar.
* - page.footer: Items for the footer region.
*
* @ingroup templates
*
* @see template_preprocess_page()
* @see html.html.twig
*/
#}
{% if date() <= date('2023-05-28 13:00:00') %}
{% include 'sitealert.html.twig' %}
{% endif %}
{% set container = theme.settings.fluid_container ? 'container-fluid' : 'container-fluid' %}
{# Navbar #}
{% if page.navigation or page.navigation_collapsible %}
{% block navbar %}
{%
set navbar_classes = [
'navbar',
theme.settings.navbar_inverse ? 'navbar-inverse' : 'navbar-default',
theme.settings.navbar_position ? 'navbar-' ~ theme.settings.navbar_position|clean_class : container,
]
%}
{# Top Content #}
{% if page.top_content %}
{{ page.top_content }}
{% endif %}
\t
\t {% if not navbar_attributes.hasClass(container) %}
{% endif %}
{{ page.navigation }}
{# .btn-navbar is used as the toggle for collapsed navbar content #}
{% if page.navigation_collapsible %}
{{ 'Toggle navigation'|t }}
{% endif %}
{# Navigation (collapsible) #}
{% if page.navigation_collapsible %}
{{ page.navigation_collapsible }}
{% endif %}
{% if not navbar_attributes.hasClass(container) %}
{% endif %}
{% endblock %}
{% endif %}
{# Main #}
{% block main %}
{# Header #}
{% if page.header %}
{% block header %}
{{ page.header }}
{% endblock %}
{% endif %}
{# Sidebar First #}
{% if page.sidebar_first %}
{% block sidebar_first %}
{{ page.sidebar_first }}
{% endblock %}
{% endif %}
{# Content #}
{%
set content_classes = [
page.sidebar_first and page.sidebar_second ? 'col-sm-6',
page.sidebar_first and page.sidebar_second is empty ? 'col-sm-9',
page.sidebar_second and page.sidebar_first is empty ? 'col-sm-9',
page.sidebar_first is empty and page.sidebar_second is empty ? 'col-sm-12'
]
%}
{# Highlighted #}
{% if page.highlighted %}
{% block highlighted %}
{{ page.highlighted }}
{% endblock %}
{% endif %}
{# Help #}
{% if page.help %}
{% block help %}
{{ page.help }}
{% endblock %}
{% endif %}
<a></a>
\t\t {# Content #}
{% block content %}
\t\t\t{{ page.content }}
\t\t {% endblock %}
\t\t
\t\t {# Map #}
\t\t {% if page.map %}
\t\t {% block map %}
\t\t {{ page.map }}
\t\t\t{% endblock %}
\t\t {% endif %}
{# Sidebar Second #}
{% if page.sidebar_second %}
{% block sidebar_second %}
{{ page.sidebar_second }}
{% endblock %}
{% endif %}
{% endblock %}
{% if page.footer %}
{% block footer %}
{{ page.footer }}
{% endblock %}
{% endif %}
", "themes/custom/asc/templates/page.html.twig", "E:\\websites\\nationalregistry_new\\web\\themes\\custom\\asc\\templates\\page.html.twig");
}
public function checkSecurity()
{
static $tags = array("if" => 54, "include" => 55, "set" => 57, "block" => 60);
static $filters = array("clean_class" => 65, "escape" => 68, "t" => 84);
static $functions = array("date" => 54);
try {
$this->sandbox->checkSecurity(
['if', 'include', 'set', 'block'],
['clean_class', 'escape', 't'],
['date']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 352)
Twig\Environment->loadTemplate('__TwigTemplate_d8cd7175826f7c3d13b63831b9608968', 'themes/custom/asc/templates/page.html.twig') (Line: 312)
Twig\Environment->load('themes/custom/asc/templates/page.html.twig') (Line: 53)
twig_render_template('themes/custom/asc/templates/page.html.twig', Array) (Line: 372)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 445)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array) (Line: 474)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 90)
__TwigTemplate_ebb78f26b6b6d2ad71361897b625d942->doDisplay(Array, Array) (Line: 394)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367)
Twig\Template->display(Array) (Line: 379)
Twig\Template->render(Array, Array) (Line: 40)
Twig\TemplateWrapper->render(Array) (Line: 53)
twig_render_template('themes/custom/asc/templates/html/html.html.twig', Array) (Line: 372)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 445)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array) (Line: 158)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 592)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 159)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 186)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('69a8ae4c6091d_region.html.twig_2KkPhIxUeGfA851IJMgX-gRpt', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/custom/asc/templates/region.html.twig */
class __TwigTemplate_b9318eec9820b556b7b9e51b72bc0941 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 18
$context["classes"] = [0 => "region", 1 => ("region-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 20
($context["region"] ?? null), 20, $this->source))), 2 => "clearfix"];
// line 24
if (($context["content"] ?? null)) {
// line 25
echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "addClass", [0 => ($context["classes"] ?? null)], "method", false, false, true, 25), 25, $this->source), "html", null, true);
echo ">
";
// line 26
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content"] ?? null), 26, $this->source), "html", null, true);
echo "
";
}
}
public function getTemplateName()
{
return "themes/custom/asc/templates/region.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 49 => 26, 44 => 25, 42 => 24, 40 => 20, 39 => 18,);
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override to display a region.
*
* Available variables:
* - content: The content for this region, typically blocks.
* - attributes: HTML attributes for the region div.
* - region: The name of the region variable as defined in the theme's
* .info.yml file.
*
* @ingroup templates
*
* @see template_preprocess_region()
*/
#}
{%
set classes = [
'region',
'region-' ~ region|clean_class,
\t'clearfix',
]
%}
{% if content %}
{{ content }}
{% endif %}
", "themes/custom/asc/templates/region.html.twig", "E:\\websites\\nationalregistry_new\\web\\themes\\custom\\asc\\templates\\region.html.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 18, "if" => 24);
static $filters = array("clean_class" => 20, "escape" => 25);
static $functions = array();
try {
$this->sandbox->checkSecurity(
['set', 'if'],
['clean_class', 'escape'],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 112)
Drupal\Core\Template\TwigPhpStorageCache->write('69a8ae4c6091d_region.html.twig_2KkPhIxUeGfA851IJMgX-gRpt', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/custom/asc/templates/region.html.twig */
class __TwigTemplate_b9318eec9820b556b7b9e51b72bc0941 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 18
$context["classes"] = [0 => "region", 1 => ("region-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 20
($context["region"] ?? null), 20, $this->source))), 2 => "clearfix"];
// line 24
if (($context["content"] ?? null)) {
// line 25
echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "addClass", [0 => ($context["classes"] ?? null)], "method", false, false, true, 25), 25, $this->source), "html", null, true);
echo ">
";
// line 26
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["content"] ?? null), 26, $this->source), "html", null, true);
echo "
";
}
}
public function getTemplateName()
{
return "themes/custom/asc/templates/region.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 49 => 26, 44 => 25, 42 => 24, 40 => 20, 39 => 18,);
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override to display a region.
*
* Available variables:
* - content: The content for this region, typically blocks.
* - attributes: HTML attributes for the region div.
* - region: The name of the region variable as defined in the theme's
* .info.yml file.
*
* @ingroup templates
*
* @see template_preprocess_region()
*/
#}
{%
set classes = [
'region',
'region-' ~ region|clean_class,
\t'clearfix',
]
%}
{% if content %}
{{ content }}
{% endif %}
", "themes/custom/asc/templates/region.html.twig", "E:\\websites\\nationalregistry_new\\web\\themes\\custom\\asc\\templates\\region.html.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 18, "if" => 24);
static $filters = array("clean_class" => 20, "escape" => 25);
static $functions = array();
try {
$this->sandbox->checkSecurity(
['set', 'if'],
['clean_class', 'escape'],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 352)
Twig\Environment->loadTemplate('__TwigTemplate_b9318eec9820b556b7b9e51b72bc0941', 'themes/custom/asc/templates/region.html.twig') (Line: 312)
Twig\Environment->load('themes/custom/asc/templates/region.html.twig') (Line: 53)
twig_render_template('themes/custom/asc/templates/region.html.twig', Array) (Line: 372)
Drupal\Core\Theme\ThemeManager->render('region', Array) (Line: 501)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array) (Line: 474)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 100)
__TwigTemplate_d8cd7175826f7c3d13b63831b9608968->block_navbar(Array, Array) (Line: 171)
Twig\Template->displayBlock('navbar', Array, Array) (Line: 60)
__TwigTemplate_d8cd7175826f7c3d13b63831b9608968->doDisplay(Array, Array) (Line: 394)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367)
Twig\Template->display(Array) (Line: 379)
Twig\Template->render(Array, Array) (Line: 40)
Twig\TemplateWrapper->render(Array) (Line: 53)
twig_render_template('themes/custom/asc/templates/page.html.twig', Array) (Line: 372)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 445)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array) (Line: 474)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 90)
__TwigTemplate_ebb78f26b6b6d2ad71361897b625d942->doDisplay(Array, Array) (Line: 394)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367)
Twig\Template->display(Array) (Line: 379)
Twig\Template->render(Array, Array) (Line: 40)
Twig\TemplateWrapper->render(Array) (Line: 53)
twig_render_template('themes/custom/asc/templates/html/html.html.twig', Array) (Line: 372)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 445)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array) (Line: 158)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 592)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 159)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 186)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('69a8ae4c6091d_off-canvas-page-wrapper.h_Und3lpsaizwBCjm3afEcR8V56', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* core/modules/system/templates/off-canvas-page-wrapper.html.twig */
class __TwigTemplate_1dafad8991a48755688fb50c4d67b81b extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 22
if (($context["children"] ?? null)) {
// line 23
echo "
";
// line 24
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["children"] ?? null), 24, $this->source), "html", null, true);
echo "
";
}
}
public function getTemplateName()
{
return "core/modules/system/templates/off-canvas-page-wrapper.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 44 => 24, 41 => 23, 39 => 22,);
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Default theme implementation for a page wrapper.
*
* For consistent wrapping to {{ page }} render in all themes. The
* \"data-off-canvas-main-canvas\" attribute is required by the off-canvas dialog.
* This is used by the core/drupal.dialog.off_canvas library to select the
* \"main canvas\" page element as opposed to the \"off canvas\" which is the dialog
* itself. The \"main canvas\" element must be resized according to the width of
* the \"off canvas\" dialog so that no portion of the \"main canvas\" is obstructed
* by the off-canvas dialog. The off-canvas dialog can vary in width when opened
* and can be resized by the user. The \"data-off-canvas-main-canvas\" attribute
* cannot be removed without breaking the off-canvas dialog functionality.
*
* Available variables:
* - children: Contains the child elements of the page.
*
* @ingroup themeable
*/
#}
{% if children %}
{{ children }}
{% endif %}
", "core/modules/system/templates/off-canvas-page-wrapper.html.twig", "E:\\websites\\nationalregistry_new\\web\\core\\modules\\system\\templates\\off-canvas-page-wrapper.html.twig");
}
public function checkSecurity()
{
static $tags = array("if" => 22);
static $filters = array("escape" => 24);
static $functions = array();
try {
$this->sandbox->checkSecurity(
['if'],
['escape'],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 112)
Drupal\Core\Template\TwigPhpStorageCache->write('69a8ae4c6091d_off-canvas-page-wrapper.h_Und3lpsaizwBCjm3afEcR8V56', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* core/modules/system/templates/off-canvas-page-wrapper.html.twig */
class __TwigTemplate_1dafad8991a48755688fb50c4d67b81b extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 22
if (($context["children"] ?? null)) {
// line 23
echo "
";
// line 24
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["children"] ?? null), 24, $this->source), "html", null, true);
echo "
";
}
}
public function getTemplateName()
{
return "core/modules/system/templates/off-canvas-page-wrapper.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 44 => 24, 41 => 23, 39 => 22,);
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Default theme implementation for a page wrapper.
*
* For consistent wrapping to {{ page }} render in all themes. The
* \"data-off-canvas-main-canvas\" attribute is required by the off-canvas dialog.
* This is used by the core/drupal.dialog.off_canvas library to select the
* \"main canvas\" page element as opposed to the \"off canvas\" which is the dialog
* itself. The \"main canvas\" element must be resized according to the width of
* the \"off canvas\" dialog so that no portion of the \"main canvas\" is obstructed
* by the off-canvas dialog. The off-canvas dialog can vary in width when opened
* and can be resized by the user. The \"data-off-canvas-main-canvas\" attribute
* cannot be removed without breaking the off-canvas dialog functionality.
*
* Available variables:
* - children: Contains the child elements of the page.
*
* @ingroup themeable
*/
#}
{% if children %}
{{ children }}
{% endif %}
", "core/modules/system/templates/off-canvas-page-wrapper.html.twig", "E:\\websites\\nationalregistry_new\\web\\core\\modules\\system\\templates\\off-canvas-page-wrapper.html.twig");
}
public function checkSecurity()
{
static $tags = array("if" => 22);
static $filters = array("escape" => 24);
static $functions = array();
try {
$this->sandbox->checkSecurity(
['if'],
['escape'],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 352)
Twig\Environment->loadTemplate('__TwigTemplate_1dafad8991a48755688fb50c4d67b81b', 'core/modules/system/templates/off-canvas-page-wrapper.html.twig') (Line: 312)
Twig\Environment->load('core/modules/system/templates/off-canvas-page-wrapper.html.twig') (Line: 53)
twig_render_template('core/modules/system/templates/off-canvas-page-wrapper.html.twig', Array) (Line: 372)
Drupal\Core\Theme\ThemeManager->render('off_canvas_page_wrapper', Array) (Line: 501)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array) (Line: 474)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 90)
__TwigTemplate_ebb78f26b6b6d2ad71361897b625d942->doDisplay(Array, Array) (Line: 394)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367)
Twig\Template->display(Array) (Line: 379)
Twig\Template->render(Array, Array) (Line: 40)
Twig\TemplateWrapper->render(Array) (Line: 53)
twig_render_template('themes/custom/asc/templates/html/html.html.twig', Array) (Line: 372)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 445)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array) (Line: 158)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 592)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 159)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 186)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('69a8ae4c6091d_form-element.html.twig_zlOL4sXsgWVspvZ3ZhReNbDAV', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/contrib/bootstrap/templates/input/form-element.html.twig */
class __TwigTemplate_0584ad1bc9e7fc87fe5e88f4a80e9111 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 51
$context["classes"] = [0 => "form-item", 1 => "js-form-item", 2 => ("form-type-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 54
($context["type"] ?? null), 54, $this->source))), 3 => ("js-form-type-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 55
($context["type"] ?? null), 55, $this->source))), 4 => ("form-item-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 56
($context["name"] ?? null), 56, $this->source))), 5 => ("js-form-item-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 57
($context["name"] ?? null), 57, $this->source))), 6 => ((!twig_in_filter( // line 58
($context["title_display"] ?? null), [0 => "after", 1 => "before"])) ? ("form-no-label") : ("")), 7 => ((( // line 59
($context["disabled"] ?? null) == "disabled")) ? ("form-disabled") : ("")), 8 => (( // line 60
($context["is_form_group"] ?? null)) ? ("form-group") : ("")), 9 => (( // line 61
($context["is_radio"] ?? null)) ? ("radio") : ("")), 10 => (( // line 62
($context["is_checkbox"] ?? null)) ? ("checkbox") : ("")), 11 => (( // line 63
($context["is_autocomplete"] ?? null)) ? ("form-autocomplete") : ("")), 12 => (( // line 64
($context["has_error"] ?? null)) ? ("error has-error") : (""))];
// line 67
$context["description_classes"] = [0 => "description", 1 => "help-block", 2 => ((( // line 70
($context["description_display"] ?? null) == "invisible")) ? ("visually-hidden") : (""))];
// line 73
echo "extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "addClass", [0 => ($context["classes"] ?? null)], "method", false, false, true, 73), 73, $this->source), "html", null, true);
echo ">
";
// line 74
if (twig_in_filter(($context["label_display"] ?? null), [0 => "before", 1 => "invisible"])) {
// line 75
echo " ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["label"] ?? null), 75, $this->source), "html", null, true);
echo "
";
}
// line 77
echo "
";
// line 78
if (((($context["description_display"] ?? null) == "before") && twig_get_attribute($this->env, $this->source, ($context["description"] ?? null), "content", [], "any", false, false, true, 78))) {
// line 79
echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["description"] ?? null), "attributes", [], "any", false, false, true, 79), "addClass", [0 => ($context["description_classes"] ?? null)], "method", false, false, true, 79), 79, $this->source), "html", null, true);
echo ">
";
// line 80
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["description"] ?? null), "content", [], "any", false, false, true, 80), 80, $this->source), "html", null, true);
echo "
";
}
// line 83
echo "
";
// line 84
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["children"] ?? null), 84, $this->source), "html", null, true);
echo "
";
// line 86
if ((($context["label_display"] ?? null) == "after")) {
// line 87
echo " ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["label"] ?? null), 87, $this->source), "html", null, true);
echo "
";
}
// line 89
echo "
";
// line 90
if (($context["errors"] ?? null)) {
// line 91
echo "
";
// line 92
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["errors"] ?? null), 92, $this->source), "html", null, true);
echo "
";
}
// line 95
echo "
";
// line 96
if ((twig_in_filter(($context["description_display"] ?? null), [0 => "after", 1 => "invisible"]) && twig_get_attribute($this->env, $this->source, ($context["description"] ?? null), "content", [], "any", false, false, true, 96))) {
// line 97
echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["description"] ?? null), "attributes", [], "any", false, false, true, 97), "addClass", [0 => ($context["description_classes"] ?? null)], "method", false, false, true, 97), 97, $this->source), "html", null, true);
echo ">
";
// line 98
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["description"] ?? null), "content", [], "any", false, false, true, 98), 98, $this->source), "html", null, true);
echo "
";
}
// line 101
echo "
";
}
public function getTemplateName()
{
return "themes/contrib/bootstrap/templates/input/form-element.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 130 => 101, 124 => 98, 119 => 97, 117 => 96, 114 => 95, 108 => 92, 105 => 91, 103 => 90, 100 => 89, 94 => 87, 92 => 86, 87 => 84, 84 => 83, 78 => 80, 73 => 79, 71 => 78, 68 => 77, 62 => 75, 60 => 74, 55 => 73, 53 => 70, 52 => 67, 50 => 64, 49 => 63, 48 => 62, 47 => 61, 46 => 60, 45 => 59, 44 => 58, 43 => 57, 42 => 56, 41 => 55, 40 => 54, 39 => 51,);
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Default theme implementation for a form element.
*
* Available variables:
* - attributes: HTML attributes for the containing element.
* - errors: (optional) Any inline error messages to display for this form
* element; may not be set.
* - has_error: (optional) Flag indicating whether to add the \"has_error\"
* Bootstrap class for this form element.
* - required: The required marker, or empty if the associated form element is
* not required.
* - type: The type of the element.
* - name: The name of the element.
* - label: A rendered label element.
* - label_display: Label display setting. It can have these values:
* - before: The label is output before the element. This is the default.
* The label includes the #title and the required marker, if #required.
* - after: The label is output after the element. For example, this is used
* for radio and checkbox #type elements. If the #title is empty but the
* field is #required, the label will contain only the required marker.
* - invisible: Labels are critical for screen readers to enable them to
* properly navigate through forms but can be visually distracting. This
* property hides the label for everyone except screen readers.
* - attribute: Set the title attribute on the element to create a tooltip but
* output no label element. This is supported only for checkboxes and radios
* in \\Drupal\\Core\\Render\\Element\\CompositeFormElementTrait::preRenderCompositeFormElement().
* It is used where a visual label is not needed, such as a table of
* checkboxes where the row and column provide the context. The tooltip will
* include the title and required marker.
* - description: (optional) A list of description properties containing:
* - content: A description of the form element, may not be set.
* - attributes: (optional) A list of HTML attributes to apply to the
* description content wrapper. Will only be set when description is set.
* - description_display: Description display setting. It can have these values:
* - before: The description is output before the element.
* - after: The description is output after the element. This is the default
* value.
* - invisible: The description is output after the element, hidden visually
* but available to screen readers.
* - disabled: True if the element is disabled.
* - title_display: Title display setting.
*
* @ingroup templates
*
* @see template_preprocess_form_element()
*/
#}
{%
set classes = [
'form-item',
'js-form-item',
'form-type-' ~ type|clean_class,
'js-form-type-' ~ type|clean_class,
'form-item-' ~ name|clean_class,
'js-form-item-' ~ name|clean_class,
title_display not in ['after', 'before'] ? 'form-no-label',
disabled == 'disabled' ? 'form-disabled',
is_form_group ? 'form-group',
is_radio ? 'radio',
is_checkbox ? 'checkbox',
is_autocomplete ? 'form-autocomplete',
has_error ? 'error has-error'
]
%}{%
set description_classes = [
'description',
'help-block',
description_display == 'invisible' ? 'visually-hidden',
]
%}
{% if label_display in ['before', 'invisible'] %}
{{ label }}
{% endif %}
{% if description_display == 'before' and description.content %}
{{ description.content }}
{% endif %}
{{ children }}
{% if label_display == 'after' %}
{{ label }}
{% endif %}
{% if errors %}
{{ errors }}
{% endif %}
{% if description_display in ['after', 'invisible'] and description.content %}
{{ description.content }}
{% endif %}
", "themes/contrib/bootstrap/templates/input/form-element.html.twig", "E:\\websites\\nationalregistry_new\\web\\themes\\contrib\\bootstrap\\templates\\input\\form-element.html.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 51, "if" => 74);
static $filters = array("clean_class" => 54, "escape" => 73);
static $functions = array();
try {
$this->sandbox->checkSecurity(
['set', 'if'],
['clean_class', 'escape'],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 112)
Drupal\Core\Template\TwigPhpStorageCache->write('69a8ae4c6091d_form-element.html.twig_zlOL4sXsgWVspvZ3ZhReNbDAV', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/contrib/bootstrap/templates/input/form-element.html.twig */
class __TwigTemplate_0584ad1bc9e7fc87fe5e88f4a80e9111 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 51
$context["classes"] = [0 => "form-item", 1 => "js-form-item", 2 => ("form-type-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 54
($context["type"] ?? null), 54, $this->source))), 3 => ("js-form-type-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 55
($context["type"] ?? null), 55, $this->source))), 4 => ("form-item-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 56
($context["name"] ?? null), 56, $this->source))), 5 => ("js-form-item-" . \Drupal\Component\Utility\Html::getClass($this->sandbox->ensureToStringAllowed( // line 57
($context["name"] ?? null), 57, $this->source))), 6 => ((!twig_in_filter( // line 58
($context["title_display"] ?? null), [0 => "after", 1 => "before"])) ? ("form-no-label") : ("")), 7 => ((( // line 59
($context["disabled"] ?? null) == "disabled")) ? ("form-disabled") : ("")), 8 => (( // line 60
($context["is_form_group"] ?? null)) ? ("form-group") : ("")), 9 => (( // line 61
($context["is_radio"] ?? null)) ? ("radio") : ("")), 10 => (( // line 62
($context["is_checkbox"] ?? null)) ? ("checkbox") : ("")), 11 => (( // line 63
($context["is_autocomplete"] ?? null)) ? ("form-autocomplete") : ("")), 12 => (( // line 64
($context["has_error"] ?? null)) ? ("error has-error") : (""))];
// line 67
$context["description_classes"] = [0 => "description", 1 => "help-block", 2 => ((( // line 70
($context["description_display"] ?? null) == "invisible")) ? ("visually-hidden") : (""))];
// line 73
echo "extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "addClass", [0 => ($context["classes"] ?? null)], "method", false, false, true, 73), 73, $this->source), "html", null, true);
echo ">
";
// line 74
if (twig_in_filter(($context["label_display"] ?? null), [0 => "before", 1 => "invisible"])) {
// line 75
echo " ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["label"] ?? null), 75, $this->source), "html", null, true);
echo "
";
}
// line 77
echo "
";
// line 78
if (((($context["description_display"] ?? null) == "before") && twig_get_attribute($this->env, $this->source, ($context["description"] ?? null), "content", [], "any", false, false, true, 78))) {
// line 79
echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["description"] ?? null), "attributes", [], "any", false, false, true, 79), "addClass", [0 => ($context["description_classes"] ?? null)], "method", false, false, true, 79), 79, $this->source), "html", null, true);
echo ">
";
// line 80
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["description"] ?? null), "content", [], "any", false, false, true, 80), 80, $this->source), "html", null, true);
echo "
";
}
// line 83
echo "
";
// line 84
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["children"] ?? null), 84, $this->source), "html", null, true);
echo "
";
// line 86
if ((($context["label_display"] ?? null) == "after")) {
// line 87
echo " ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["label"] ?? null), 87, $this->source), "html", null, true);
echo "
";
}
// line 89
echo "
";
// line 90
if (($context["errors"] ?? null)) {
// line 91
echo "
";
// line 92
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["errors"] ?? null), 92, $this->source), "html", null, true);
echo "
";
}
// line 95
echo "
";
// line 96
if ((twig_in_filter(($context["description_display"] ?? null), [0 => "after", 1 => "invisible"]) && twig_get_attribute($this->env, $this->source, ($context["description"] ?? null), "content", [], "any", false, false, true, 96))) {
// line 97
echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["description"] ?? null), "attributes", [], "any", false, false, true, 97), "addClass", [0 => ($context["description_classes"] ?? null)], "method", false, false, true, 97), 97, $this->source), "html", null, true);
echo ">
";
// line 98
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["description"] ?? null), "content", [], "any", false, false, true, 98), 98, $this->source), "html", null, true);
echo "
";
}
// line 101
echo "
";
}
public function getTemplateName()
{
return "themes/contrib/bootstrap/templates/input/form-element.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 130 => 101, 124 => 98, 119 => 97, 117 => 96, 114 => 95, 108 => 92, 105 => 91, 103 => 90, 100 => 89, 94 => 87, 92 => 86, 87 => 84, 84 => 83, 78 => 80, 73 => 79, 71 => 78, 68 => 77, 62 => 75, 60 => 74, 55 => 73, 53 => 70, 52 => 67, 50 => 64, 49 => 63, 48 => 62, 47 => 61, 46 => 60, 45 => 59, 44 => 58, 43 => 57, 42 => 56, 41 => 55, 40 => 54, 39 => 51,);
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Default theme implementation for a form element.
*
* Available variables:
* - attributes: HTML attributes for the containing element.
* - errors: (optional) Any inline error messages to display for this form
* element; may not be set.
* - has_error: (optional) Flag indicating whether to add the \"has_error\"
* Bootstrap class for this form element.
* - required: The required marker, or empty if the associated form element is
* not required.
* - type: The type of the element.
* - name: The name of the element.
* - label: A rendered label element.
* - label_display: Label display setting. It can have these values:
* - before: The label is output before the element. This is the default.
* The label includes the #title and the required marker, if #required.
* - after: The label is output after the element. For example, this is used
* for radio and checkbox #type elements. If the #title is empty but the
* field is #required, the label will contain only the required marker.
* - invisible: Labels are critical for screen readers to enable them to
* properly navigate through forms but can be visually distracting. This
* property hides the label for everyone except screen readers.
* - attribute: Set the title attribute on the element to create a tooltip but
* output no label element. This is supported only for checkboxes and radios
* in \\Drupal\\Core\\Render\\Element\\CompositeFormElementTrait::preRenderCompositeFormElement().
* It is used where a visual label is not needed, such as a table of
* checkboxes where the row and column provide the context. The tooltip will
* include the title and required marker.
* - description: (optional) A list of description properties containing:
* - content: A description of the form element, may not be set.
* - attributes: (optional) A list of HTML attributes to apply to the
* description content wrapper. Will only be set when description is set.
* - description_display: Description display setting. It can have these values:
* - before: The description is output before the element.
* - after: The description is output after the element. This is the default
* value.
* - invisible: The description is output after the element, hidden visually
* but available to screen readers.
* - disabled: True if the element is disabled.
* - title_display: Title display setting.
*
* @ingroup templates
*
* @see template_preprocess_form_element()
*/
#}
{%
set classes = [
'form-item',
'js-form-item',
'form-type-' ~ type|clean_class,
'js-form-type-' ~ type|clean_class,
'form-item-' ~ name|clean_class,
'js-form-item-' ~ name|clean_class,
title_display not in ['after', 'before'] ? 'form-no-label',
disabled == 'disabled' ? 'form-disabled',
is_form_group ? 'form-group',
is_radio ? 'radio',
is_checkbox ? 'checkbox',
is_autocomplete ? 'form-autocomplete',
has_error ? 'error has-error'
]
%}{%
set description_classes = [
'description',
'help-block',
description_display == 'invisible' ? 'visually-hidden',
]
%}
{% if label_display in ['before', 'invisible'] %}
{{ label }}
{% endif %}
{% if description_display == 'before' and description.content %}
{{ description.content }}
{% endif %}
{{ children }}
{% if label_display == 'after' %}
{{ label }}
{% endif %}
{% if errors %}
{{ errors }}
{% endif %}
{% if description_display in ['after', 'invisible'] and description.content %}
{{ description.content }}
{% endif %}
", "themes/contrib/bootstrap/templates/input/form-element.html.twig", "E:\\websites\\nationalregistry_new\\web\\themes\\contrib\\bootstrap\\templates\\input\\form-element.html.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 51, "if" => 74);
static $filters = array("clean_class" => 54, "escape" => 73);
static $functions = array();
try {
$this->sandbox->checkSecurity(
['set', 'if'],
['clean_class', 'escape'],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 352)
Twig\Environment->loadTemplate('__TwigTemplate_0584ad1bc9e7fc87fe5e88f4a80e9111', 'themes/contrib/bootstrap/templates/input/form-element.html.twig') (Line: 312)
Twig\Environment->load('themes/contrib/bootstrap/templates/input/form-element.html.twig') (Line: 53)
twig_render_template('themes/contrib/bootstrap/templates/input/form-element.html.twig', Array) (Line: 372)
Drupal\Core\Theme\ThemeManager->render('form_element', Array) (Line: 501)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 458)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array) (Line: 474)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 52)
__TwigTemplate_b1ded44f956cad21ead825d6b8fceec8->doDisplay(Array, Array) (Line: 394)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367)
Twig\Template->display(Array) (Line: 379)
Twig\Template->render(Array, Array) (Line: 40)
Twig\TemplateWrapper->render(Array) (Line: 53)
twig_render_template('themes/contrib/bootstrap/templates/views/views-exposed-form.html.twig', Array) (Line: 372)
Drupal\Core\Theme\ThemeManager->render('views_exposed_form', Array) (Line: 445)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array) (Line: 474)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 82)
__TwigTemplate_980a72915faa6e4b0cdc2a3f2693515a->block_content(Array, Array) (Line: 171)
Twig\Template->displayBlock('content', Array, Array) (Line: 69)
__TwigTemplate_980a72915faa6e4b0cdc2a3f2693515a->doDisplay(Array, Array) (Line: 394)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367)
Twig\Template->display(Array) (Line: 379)
Twig\Template->render(Array, Array) (Line: 40)
Twig\TemplateWrapper->render(Array) (Line: 53)
twig_render_template('themes/contrib/bootstrap/templates/block/block.html.twig', Array) (Line: 372)
Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 445)
Drupal\Core\Render\Renderer->doRender(Array, 1) (Line: 204)
Drupal\Core\Render\Renderer->render(Array, 1) (Line: 160)
Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}() (Line: 592)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 161)
Drupal\Core\Render\Renderer->renderPlain(Array) (Line: 175)
Drupal\Core\Render\Renderer->renderPlaceholder('', Array) (Line: 674)
Drupal\Core\Render\Renderer->replacePlaceholders(Array) (Line: 562)
Drupal\Core\Render\Renderer->doRender(Array, 1) (Line: 204)
Drupal\Core\Render\Renderer->render(Array, 1) (Line: 148)
Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}() (Line: 592)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 149)
Drupal\Core\Render\Renderer->renderRoot(Array) (Line: 285)
Drupal\Core\Render\HtmlResponseAttachmentsProcessor->renderPlaceholders(Object) (Line: 74)
Drupal\big_pipe\Render\BigPipeResponseAttachmentsProcessor->processAttachments(Object) (Line: 45)
Drupal\Core\EventSubscriber\HtmlResponseSubscriber->onRespond(Object, 'kernel.response', Object)
call_user_func(Array, Object, 'kernel.response', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.response') (Line: 214)
Symfony\Component\HttpKernel\HttpKernel->filterResponse(Object, Object, 1) (Line: 202)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('69a8ae4c6091d_form-element-label.html.t_iWxmx8P1moSKuzCLvfHum4e4F', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/contrib/bootstrap/templates/input/form-element-label.html.twig */
class __TwigTemplate_e7bb06b6d3f70b8215a528f5d74f51c6 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 22
$context["classes"] = [0 => "control-label", 1 => ((( // line 24
($context["title_display"] ?? null) == "after")) ? ("option") : ("")), 2 => (((( // line 25
($context["title_display"] ?? null) == "invisible") && !(($context["is_checkbox"] ?? null) || ($context["is_radio"] ?? null)))) ? ("sr-only") : ("")), 3 => (( // line 26
($context["required"] ?? null)) ? ("js-form-required") : ("")), 4 => (( // line 27
($context["required"] ?? null)) ? ("form-required") : (""))];
// line 30
if ((( !twig_test_empty(($context["title"] ?? null)) && (($context["title_display"] ?? null) == "invisible")) && (($context["is_checkbox"] ?? null) || ($context["is_radio"] ?? null)))) {
// line 35
$context["attributes"] = twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "setAttribute", [0 => "title", 1 => ($context["title"] ?? null)], "method", false, false, true, 35);
// line 36
$context["title"] = null;
}
// line 42
if ((( !twig_test_empty(($context["title"] ?? null)) || ($context["is_checkbox"] ?? null)) || ($context["is_radio"] ?? null))) {
// line 43
echo "extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "addClass", [0 => ($context["classes"] ?? null)], "method", false, false, true, 43), 43, $this->source), "html", null, true);
echo ">";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["element"] ?? null), 43, $this->source), "html", null, true);
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title"] ?? null), 43, $this->source), "html", null, true);
// line 44
if (($context["description"] ?? null)) {
// line 45
echo "";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["description"] ?? null), 45, $this->source), "html", null, true);
echo "";
}
// line 47
echo "";
}
}
public function getTemplateName()
{
return "themes/contrib/bootstrap/templates/input/form-element-label.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 67 => 47, 62 => 45, 60 => 44, 54 => 43, 52 => 42, 49 => 36, 47 => 35, 45 => 30, 43 => 27, 42 => 26, 41 => 25, 40 => 24, 39 => 22,);
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Default theme implementation for a form element label.
*
* Available variables:
* - element: an input element.
* - title: The label's text.
* - title_display: Elements title_display setting.
* - description: element description.
* - required: An indicator for whether the associated form element is required.
* - is_checkbox: Whether the label is outputted in checkbox context.
* - is_radio: Whether the label is outputted in radio button context.
* - attributes: A list of HTML attributes for the label.
*
* @ingroup templates
*
* @see template_preprocess_form_element_label()
*/
#}
{%-
set classes = [
'control-label',
title_display == 'after' ? 'option',
title_display == 'invisible' and not (is_checkbox or is_radio) ? 'sr-only',
required ? 'js-form-required',
required ? 'form-required',
]
-%}
{% if title is not empty and title_display == 'invisible' and (is_checkbox or is_radio) -%}
{#
Clear but preserve label text as attribute (e.g. for screen readers) for
checkboxes/radio buttons when it actually should be invisible.
#}
{%- set attributes = attributes.setAttribute('title', title) -%}
{%- set title = null -%}
{%- endif -%}
{#
Labels for single checkboxes/radios contain the element itself and thus have
always to be rendered regardless of whether they have a title or not.
#}
{%- if title is not empty or is_checkbox or is_radio -%}
{{ element }}{{ title }}
{%- if description -%}
{{ description }}
{%- endif -%}
{%- endif -%}
", "themes/contrib/bootstrap/templates/input/form-element-label.html.twig", "E:\\websites\\nationalregistry_new\\web\\themes\\contrib\\bootstrap\\templates\\input\\form-element-label.html.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 22, "if" => 30);
static $filters = array("escape" => 43);
static $functions = array();
try {
$this->sandbox->checkSecurity(
['set', 'if'],
['escape'],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 112)
Drupal\Core\Template\TwigPhpStorageCache->write('69a8ae4c6091d_form-element-label.html.t_iWxmx8P1moSKuzCLvfHum4e4F', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/contrib/bootstrap/templates/input/form-element-label.html.twig */
class __TwigTemplate_e7bb06b6d3f70b8215a528f5d74f51c6 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 22
$context["classes"] = [0 => "control-label", 1 => ((( // line 24
($context["title_display"] ?? null) == "after")) ? ("option") : ("")), 2 => (((( // line 25
($context["title_display"] ?? null) == "invisible") && !(($context["is_checkbox"] ?? null) || ($context["is_radio"] ?? null)))) ? ("sr-only") : ("")), 3 => (( // line 26
($context["required"] ?? null)) ? ("js-form-required") : ("")), 4 => (( // line 27
($context["required"] ?? null)) ? ("form-required") : (""))];
// line 30
if ((( !twig_test_empty(($context["title"] ?? null)) && (($context["title_display"] ?? null) == "invisible")) && (($context["is_checkbox"] ?? null) || ($context["is_radio"] ?? null)))) {
// line 35
$context["attributes"] = twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "setAttribute", [0 => "title", 1 => ($context["title"] ?? null)], "method", false, false, true, 35);
// line 36
$context["title"] = null;
}
// line 42
if ((( !twig_test_empty(($context["title"] ?? null)) || ($context["is_checkbox"] ?? null)) || ($context["is_radio"] ?? null))) {
// line 43
echo "extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "addClass", [0 => ($context["classes"] ?? null)], "method", false, false, true, 43), 43, $this->source), "html", null, true);
echo ">";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["element"] ?? null), 43, $this->source), "html", null, true);
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["title"] ?? null), 43, $this->source), "html", null, true);
// line 44
if (($context["description"] ?? null)) {
// line 45
echo "";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["description"] ?? null), 45, $this->source), "html", null, true);
echo "";
}
// line 47
echo "";
}
}
public function getTemplateName()
{
return "themes/contrib/bootstrap/templates/input/form-element-label.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 67 => 47, 62 => 45, 60 => 44, 54 => 43, 52 => 42, 49 => 36, 47 => 35, 45 => 30, 43 => 27, 42 => 26, 41 => 25, 40 => 24, 39 => 22,);
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Default theme implementation for a form element label.
*
* Available variables:
* - element: an input element.
* - title: The label's text.
* - title_display: Elements title_display setting.
* - description: element description.
* - required: An indicator for whether the associated form element is required.
* - is_checkbox: Whether the label is outputted in checkbox context.
* - is_radio: Whether the label is outputted in radio button context.
* - attributes: A list of HTML attributes for the label.
*
* @ingroup templates
*
* @see template_preprocess_form_element_label()
*/
#}
{%-
set classes = [
'control-label',
title_display == 'after' ? 'option',
title_display == 'invisible' and not (is_checkbox or is_radio) ? 'sr-only',
required ? 'js-form-required',
required ? 'form-required',
]
-%}
{% if title is not empty and title_display == 'invisible' and (is_checkbox or is_radio) -%}
{#
Clear but preserve label text as attribute (e.g. for screen readers) for
checkboxes/radio buttons when it actually should be invisible.
#}
{%- set attributes = attributes.setAttribute('title', title) -%}
{%- set title = null -%}
{%- endif -%}
{#
Labels for single checkboxes/radios contain the element itself and thus have
always to be rendered regardless of whether they have a title or not.
#}
{%- if title is not empty or is_checkbox or is_radio -%}
{{ element }}{{ title }}
{%- if description -%}
{{ description }}
{%- endif -%}
{%- endif -%}
", "themes/contrib/bootstrap/templates/input/form-element-label.html.twig", "E:\\websites\\nationalregistry_new\\web\\themes\\contrib\\bootstrap\\templates\\input\\form-element-label.html.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 22, "if" => 30);
static $filters = array("escape" => 43);
static $functions = array();
try {
$this->sandbox->checkSecurity(
['set', 'if'],
['escape'],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 352)
Twig\Environment->loadTemplate('__TwigTemplate_e7bb06b6d3f70b8215a528f5d74f51c6', 'themes/contrib/bootstrap/templates/input/form-element-label.html.twig') (Line: 312)
Twig\Environment->load('themes/contrib/bootstrap/templates/input/form-element-label.html.twig') (Line: 53)
twig_render_template('themes/contrib/bootstrap/templates/input/form-element-label.html.twig', Array) (Line: 372)
Drupal\Core\Theme\ThemeManager->render('form_element_label', Array) (Line: 445)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array) (Line: 474)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 63)
__TwigTemplate_0584ad1bc9e7fc87fe5e88f4a80e9111->doDisplay(Array, Array) (Line: 394)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367)
Twig\Template->display(Array) (Line: 379)
Twig\Template->render(Array, Array) (Line: 40)
Twig\TemplateWrapper->render(Array) (Line: 53)
twig_render_template('themes/contrib/bootstrap/templates/input/form-element.html.twig', Array) (Line: 372)
Drupal\Core\Theme\ThemeManager->render('form_element', Array) (Line: 501)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 458)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array) (Line: 474)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 52)
__TwigTemplate_b1ded44f956cad21ead825d6b8fceec8->doDisplay(Array, Array) (Line: 394)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367)
Twig\Template->display(Array) (Line: 379)
Twig\Template->render(Array, Array) (Line: 40)
Twig\TemplateWrapper->render(Array) (Line: 53)
twig_render_template('themes/contrib/bootstrap/templates/views/views-exposed-form.html.twig', Array) (Line: 372)
Drupal\Core\Theme\ThemeManager->render('views_exposed_form', Array) (Line: 445)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array) (Line: 474)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 82)
__TwigTemplate_980a72915faa6e4b0cdc2a3f2693515a->block_content(Array, Array) (Line: 171)
Twig\Template->displayBlock('content', Array, Array) (Line: 69)
__TwigTemplate_980a72915faa6e4b0cdc2a3f2693515a->doDisplay(Array, Array) (Line: 394)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367)
Twig\Template->display(Array) (Line: 379)
Twig\Template->render(Array, Array) (Line: 40)
Twig\TemplateWrapper->render(Array) (Line: 53)
twig_render_template('themes/contrib/bootstrap/templates/block/block.html.twig', Array) (Line: 372)
Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 445)
Drupal\Core\Render\Renderer->doRender(Array, 1) (Line: 204)
Drupal\Core\Render\Renderer->render(Array, 1) (Line: 160)
Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}() (Line: 592)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 161)
Drupal\Core\Render\Renderer->renderPlain(Array) (Line: 175)
Drupal\Core\Render\Renderer->renderPlaceholder('', Array) (Line: 674)
Drupal\Core\Render\Renderer->replacePlaceholders(Array) (Line: 562)
Drupal\Core\Render\Renderer->doRender(Array, 1) (Line: 204)
Drupal\Core\Render\Renderer->render(Array, 1) (Line: 148)
Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}() (Line: 592)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 149)
Drupal\Core\Render\Renderer->renderRoot(Array) (Line: 285)
Drupal\Core\Render\HtmlResponseAttachmentsProcessor->renderPlaceholders(Object) (Line: 74)
Drupal\big_pipe\Render\BigPipeResponseAttachmentsProcessor->processAttachments(Object) (Line: 45)
Drupal\Core\EventSubscriber\HtmlResponseSubscriber->onRespond(Object, 'kernel.response', Object)
call_user_func(Array, Object, 'kernel.response', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.response') (Line: 214)
Symfony\Component\HttpKernel\HttpKernel->filterResponse(Object, Object, 1) (Line: 202)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage->save('69a8ae4c6091d_select.html.twig_h-TUHP6GjaffzSdsQju4kw9bk', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/contrib/bootstrap/templates/input/select.html.twig */
class __TwigTemplate_f31b85f5ee2e5380585e283c12ce2000 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 18
ob_start();
// line 19
echo " ";
if (($context["input_group"] ?? null)) {
// line 20
echo "
";
}
// line 22
echo "
";
// line 23
if (($context["prefix"] ?? null)) {
// line 24
echo " ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["prefix"] ?? null), 24, $this->source), "html", null, true);
echo "
";
}
// line 26
echo "
";
// line 31
echo " ";
if ( !twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "offsetExists", [0 => "multiple"], "method", false, false, true, 31)) {
// line 32
echo "
";
}
// line 34
echo " ";
$context["classes"] = [0 => "form-control"];
// line 35
echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "addClass", [0 => ($context["classes"] ?? null)], "method", false, false, true, 35), 35, $this->source), "html", null, true);
echo ">
";
// line 36
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["options"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
// line 37
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["option"], "type", [], "any", false, false, true, 37) == "optgroup")) {
// line 38
echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["option"], "label", [], "any", false, false, true, 38), 38, $this->source), "html", null, true);
echo "\">
";
// line 39
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["option"], "options", [], "any", false, false, true, 39));
foreach ($context['_seq'] as $context["_key"] => $context["sub_option"]) {
// line 40
echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["sub_option"], "value", [], "any", false, false, true, 41), 41, $this->source), "html", null, true);
echo "\"";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(((twig_get_attribute($this->env, $this->source, $context["sub_option"], "selected", [], "any", false, false, true, 41)) ? (" selected=\"selected\"") : ("")));
echo ">";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["sub_option"], "label", [], "any", false, false, true, 41), 41, $this->source), "html", null, true);
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['sub_option'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 43
echo "
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 44
$context["option"], "type", [], "any", false, false, true, 44) == "option")) {
// line 45
echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["option"], "value", [], "any", false, false, true, 46), 46, $this->source), "html", null, true);
echo "\"";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(((twig_get_attribute($this->env, $this->source, $context["option"], "selected", [], "any", false, false, true, 46)) ? (" selected=\"selected\"") : ("")));
echo ">";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["option"], "label", [], "any", false, false, true, 46), 46, $this->source), "html", null, true);
echo "
";
}
// line 48
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 49
echo "
";
// line 50
if ( !twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "offsetExists", [0 => "multiple"], "method", false, false, true, 50)) {
// line 51
echo "
";
}
// line 53
echo "
";
// line 54
if (($context["suffix"] ?? null)) {
// line 55
echo " ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["suffix"] ?? null), 55, $this->source), "html", null, true);
echo "
";
}
// line 57
echo "
";
// line 58
if (($context["input_group"] ?? null)) {
// line 59
echo "
";
}
$___internal_parse_2_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 18
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(twig_spaceless($___internal_parse_2_));
}
public function getTemplateName()
{
return "themes/contrib/bootstrap/templates/input/select.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 161 => 18, 156 => 59, 154 => 58, 151 => 57, 145 => 55, 143 => 54, 140 => 53, 136 => 51, 134 => 50, 131 => 49, 125 => 48, 116 => 46, 113 => 45, 111 => 44, 108 => 43, 96 => 41, 93 => 40, 89 => 39, 84 => 38, 81 => 37, 77 => 36, 72 => 35, 69 => 34, 65 => 32, 62 => 31, 59 => 26, 53 => 24, 51 => 23, 48 => 22, 44 => 20, 41 => 19, 39 => 18,);
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override for a select element.
*
* Available variables:
* - attributes: HTML attributes for the select tag.
* - input_group: Flag to display as an input group.
* - options: The option element children.
* - prefix: Markup to display before the input element.
* - suffix: Markup to display after the input element.
*
* @ingroup templates
*
* @see template_preprocess_select()
*/
#}
{% apply spaceless %}
{% if input_group %}
{% endif %}
{% if prefix %}
{{ prefix }}
{% endif %}
{# Browsers do not recognize pseudo :after selectors, we must create a wrapper
# around the select element to style it properly.
# @see http://stackoverflow.com/q/21103542
#}
{% if not attributes.offsetExists('multiple') %}
{% endif %}
{% set classes = ['form-control'] %}
{% for option in options %}
{% if option.type == 'optgroup' %}
{% for sub_option in option.options %}
{{ sub_option.label }}
{% endfor %}
{% elseif option.type == 'option' %}
{{ option.label }}
{% endif %}
{% endfor %}
{% if not attributes.offsetExists('multiple') %}
{% endif %}
{% if suffix %}
{{ suffix }}
{% endif %}
{% if input_group %}
{% endif %}
{% endapply %}
", "themes/contrib/bootstrap/templates/input/select.html.twig", "E:\\websites\\nationalregistry_new\\web\\themes\\contrib\\bootstrap\\templates\\input\\select.html.twig");
}
public function checkSecurity()
{
static $tags = array("apply" => 18, "if" => 19, "set" => 34, "for" => 36);
static $filters = array("escape" => 24, "spaceless" => 18);
static $functions = array();
try {
$this->sandbox->checkSecurity(
['apply', 'if', 'set', 'for'],
['escape', 'spaceless'],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 112)
Drupal\Core\Template\TwigPhpStorageCache->write('69a8ae4c6091d_select.html.twig_h-TUHP6GjaffzSdsQju4kw9bk', '<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* themes/contrib/bootstrap/templates/input/select.html.twig */
class __TwigTemplate_f31b85f5ee2e5380585e283c12ce2000 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 18
ob_start();
// line 19
echo " ";
if (($context["input_group"] ?? null)) {
// line 20
echo "
";
}
// line 22
echo "
";
// line 23
if (($context["prefix"] ?? null)) {
// line 24
echo " ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["prefix"] ?? null), 24, $this->source), "html", null, true);
echo "
";
}
// line 26
echo "
";
// line 31
echo " ";
if ( !twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "offsetExists", [0 => "multiple"], "method", false, false, true, 31)) {
// line 32
echo "
";
}
// line 34
echo " ";
$context["classes"] = [0 => "form-control"];
// line 35
echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "addClass", [0 => ($context["classes"] ?? null)], "method", false, false, true, 35), 35, $this->source), "html", null, true);
echo ">
";
// line 36
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(($context["options"] ?? null));
foreach ($context['_seq'] as $context["_key"] => $context["option"]) {
// line 37
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["option"], "type", [], "any", false, false, true, 37) == "optgroup")) {
// line 38
echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["option"], "label", [], "any", false, false, true, 38), 38, $this->source), "html", null, true);
echo "\">
";
// line 39
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["option"], "options", [], "any", false, false, true, 39));
foreach ($context['_seq'] as $context["_key"] => $context["sub_option"]) {
// line 40
echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["sub_option"], "value", [], "any", false, false, true, 41), 41, $this->source), "html", null, true);
echo "\"";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(((twig_get_attribute($this->env, $this->source, $context["sub_option"], "selected", [], "any", false, false, true, 41)) ? (" selected=\"selected\"") : ("")));
echo ">";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["sub_option"], "label", [], "any", false, false, true, 41), 41, $this->source), "html", null, true);
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['sub_option'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 43
echo "
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 44
$context["option"], "type", [], "any", false, false, true, 44) == "option")) {
// line 45
echo " extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["option"], "value", [], "any", false, false, true, 46), 46, $this->source), "html", null, true);
echo "\"";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(((twig_get_attribute($this->env, $this->source, $context["option"], "selected", [], "any", false, false, true, 46)) ? (" selected=\"selected\"") : ("")));
echo ">";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["option"], "label", [], "any", false, false, true, 46), 46, $this->source), "html", null, true);
echo "
";
}
// line 48
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['option'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 49
echo "
";
// line 50
if ( !twig_get_attribute($this->env, $this->source, ($context["attributes"] ?? null), "offsetExists", [0 => "multiple"], "method", false, false, true, 50)) {
// line 51
echo "
";
}
// line 53
echo "
";
// line 54
if (($context["suffix"] ?? null)) {
// line 55
echo " ";
echo $this->extensions['Drupal\Core\Template\TwigExtension']->escapeFilter($this->env, $this->sandbox->ensureToStringAllowed(($context["suffix"] ?? null), 55, $this->source), "html", null, true);
echo "
";
}
// line 57
echo "
";
// line 58
if (($context["input_group"] ?? null)) {
// line 59
echo "
";
}
$___internal_parse_2_ = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
// line 18
echo $this->extensions['Drupal\Core\Template\TwigExtension']->renderVar(twig_spaceless($___internal_parse_2_));
}
public function getTemplateName()
{
return "themes/contrib/bootstrap/templates/input/select.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 161 => 18, 156 => 59, 154 => 58, 151 => 57, 145 => 55, 143 => 54, 140 => 53, 136 => 51, 134 => 50, 131 => 49, 125 => 48, 116 => 46, 113 => 45, 111 => 44, 108 => 43, 96 => 41, 93 => 40, 89 => 39, 84 => 38, 81 => 37, 77 => 36, 72 => 35, 69 => 34, 65 => 32, 62 => 31, 59 => 26, 53 => 24, 51 => 23, 48 => 22, 44 => 20, 41 => 19, 39 => 18,);
}
public function getSourceContext()
{
return new Source("{#
/**
* @file
* Theme override for a select element.
*
* Available variables:
* - attributes: HTML attributes for the select tag.
* - input_group: Flag to display as an input group.
* - options: The option element children.
* - prefix: Markup to display before the input element.
* - suffix: Markup to display after the input element.
*
* @ingroup templates
*
* @see template_preprocess_select()
*/
#}
{% apply spaceless %}
{% if input_group %}
{% endif %}
{% if prefix %}
{{ prefix }}
{% endif %}
{# Browsers do not recognize pseudo :after selectors, we must create a wrapper
# around the select element to style it properly.
# @see http://stackoverflow.com/q/21103542
#}
{% if not attributes.offsetExists('multiple') %}
{% endif %}
{% set classes = ['form-control'] %}
{% for option in options %}
{% if option.type == 'optgroup' %}
{% for sub_option in option.options %}
{{ sub_option.label }}
{% endfor %}
{% elseif option.type == 'option' %}
{{ option.label }}
{% endif %}
{% endfor %}
{% if not attributes.offsetExists('multiple') %}
{% endif %}
{% if suffix %}
{{ suffix }}
{% endif %}
{% if input_group %}
{% endif %}
{% endapply %}
", "themes/contrib/bootstrap/templates/input/select.html.twig", "E:\\websites\\nationalregistry_new\\web\\themes\\contrib\\bootstrap\\templates\\input\\select.html.twig");
}
public function checkSecurity()
{
static $tags = array("apply" => 18, "if" => 19, "set" => 34, "for" => 36);
static $filters = array("escape" => 24, "spaceless" => 18);
static $functions = array();
try {
$this->sandbox->checkSecurity(
['apply', 'if', 'set', 'for'],
['escape', 'spaceless'],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}
') (Line: 352)
Twig\Environment->loadTemplate('__TwigTemplate_f31b85f5ee2e5380585e283c12ce2000', 'themes/contrib/bootstrap/templates/input/select.html.twig') (Line: 312)
Twig\Environment->load('themes/contrib/bootstrap/templates/input/select.html.twig') (Line: 53)
twig_render_template('themes/contrib/bootstrap/templates/input/select.html.twig', Array) (Line: 372)
Drupal\Core\Theme\ThemeManager->render('select', Array) (Line: 445)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 458)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array) (Line: 474)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 52)
__TwigTemplate_b1ded44f956cad21ead825d6b8fceec8->doDisplay(Array, Array) (Line: 394)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367)
Twig\Template->display(Array) (Line: 379)
Twig\Template->render(Array, Array) (Line: 40)
Twig\TemplateWrapper->render(Array) (Line: 53)
twig_render_template('themes/contrib/bootstrap/templates/views/views-exposed-form.html.twig', Array) (Line: 372)
Drupal\Core\Theme\ThemeManager->render('views_exposed_form', Array) (Line: 445)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)
Drupal\Core\Render\Renderer->render(Array) (Line: 474)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 82)
__TwigTemplate_980a72915faa6e4b0cdc2a3f2693515a->block_content(Array, Array) (Line: 171)
Twig\Template->displayBlock('content', Array, Array) (Line: 69)
__TwigTemplate_980a72915faa6e4b0cdc2a3f2693515a->doDisplay(Array, Array) (Line: 394)
Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367)
Twig\Template->display(Array) (Line: 379)
Twig\Template->render(Array, Array) (Line: 40)
Twig\TemplateWrapper->render(Array) (Line: 53)
twig_render_template('themes/contrib/bootstrap/templates/block/block.html.twig', Array) (Line: 372)
Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 445)
Drupal\Core\Render\Renderer->doRender(Array, 1) (Line: 204)
Drupal\Core\Render\Renderer->render(Array, 1) (Line: 160)
Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}() (Line: 592)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 161)
Drupal\Core\Render\Renderer->renderPlain(Array) (Line: 175)
Drupal\Core\Render\Renderer->renderPlaceholder('', Array) (Line: 674)
Drupal\Core\Render\Renderer->replacePlaceholders(Array) (Line: 562)
Drupal\Core\Render\Renderer->doRender(Array, 1) (Line: 204)
Drupal\Core\Render\Renderer->render(Array, 1) (Line: 148)
Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}() (Line: 592)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 149)
Drupal\Core\Render\Renderer->renderRoot(Array) (Line: 285)
Drupal\Core\Render\HtmlResponseAttachmentsProcessor->renderPlaceholders(Object) (Line: 74)
Drupal\big_pipe\Render\BigPipeResponseAttachmentsProcessor->processAttachments(Object) (Line: 45)
Drupal\Core\EventSubscriber\HtmlResponseSubscriber->onRespond(Object, 'kernel.response', Object)
call_user_func(Array, Object, 'kernel.response', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.response') (Line: 214)
Symfony\Component\HttpKernel\HttpKernel->filterResponse(Object, Object, 1) (Line: 202)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)