<?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;
/* @openform_front_templates/AntiqueSuit/_templates/_sections/_section-6.html.twig */
class __TwigTemplate_ad2c4fcbb102d9ac7f631ada4fef1ded extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@openform_front_templates/AntiqueSuit/_templates/_sections/_section-6.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@openform_front_templates/AntiqueSuit/_templates/_sections/_section-6.html.twig"));
// line 1
echo "<div class=\"object__wrapper object__wrapper--last object__item__section\">
\t<div class=\"object__wrapper__title object__wrapper__title--mb-20\">";
// line 2
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("T_RECORD_INFORMATION", [], "openform_front", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 2, $this->source); })()), "request", [], "any", false, false, false, 2), "locale", [], "any", false, false, false, 2)), "html", null, true);
echo ":</div>
\t<div class=\"object__wrapper__list\">
\t\t";
// line 5
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 5, $this->source); })()), "Translation", [], "any", false, false, false, 5), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 5, $this->source); })()), "request", [], "any", false, false, false, 5), "locale", [], "any", false, false, false, 5), [], "array", false, false, false, 5), "updatedAt", [], "any", false, false, false, 5)) {
// line 6
echo "\t\t\t<div class=\"object__item-wrap\">
\t\t\t\t<h3 class=\"object__item-wrap__title\">";
// line 7
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("T_UPDATE_AT", [], "openform_front", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 7, $this->source); })()), "request", [], "any", false, false, false, 7), "locale", [], "any", false, false, false, 7)), "html", null, true);
echo ":</h3>
\t\t\t\t<div class=\"object__item-wrap__text\">
\t\t\t\t\t";
// line 10
$this->loadTemplate("@openform_front_templates/AntiqueSuit/_templates/_fields/_date_and_age.html.twig", "@openform_front_templates/AntiqueSuit/_templates/_sections/_section-6.html.twig", 10)->display(twig_array_merge($context, ["date" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 10, $this->source); })()), "Translation", [], "any", false, false, false, 10), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 10, $this->source); })()), "request", [], "any", false, false, false, 10), "locale", [], "any", false, false, false, 10), [], "array", false, false, false, 10), "updatedAt", [], "any", false, false, false, 10)]));
// line 11
echo "\t\t\t\t</div>
\t\t\t</div>
\t\t";
}
// line 14
echo "
\t\t";
// line 15
if (twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 15, $this->source); })()), "id", [], "any", false, false, false, 15)) {
// line 16
echo "\t\t\t<div class=\"object__item-wrap\">
\t\t\t\t<h3 class=\"object__item-wrap__title\">";
// line 17
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("T_ID_NUMBER", [], "openform_front", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 17, $this->source); })()), "request", [], "any", false, false, false, 17), "locale", [], "any", false, false, false, 17)), "html", null, true);
echo ":</h3>
\t\t\t\t<div class=\"object__item-wrap__text\">
\t\t\t\t\t";
// line 20
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 20, $this->source); })()), "id", [], "any", false, false, false, 20), "html", null, true);
echo "
\t\t\t\t</div>
\t\t\t</div>
\t\t";
}
// line 24
echo "\t\t";
$context["href"] = (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 24, $this->source); })()), "request", [], "any", false, false, false, 24), "getSchemeAndHttpHost", [], "method", false, false, false, 24) . twig_get_attribute($this->env, $this->source, (isset($context["toolkit_route_localizer"]) || array_key_exists("toolkit_route_localizer", $context) ? $context["toolkit_route_localizer"] : (function () { throw new RuntimeError('Variable "toolkit_route_localizer" does not exist.', 24, $this->source); })()), "generate", ["antique_item", ["slug" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["entity"]) || array_key_exists("entity", $context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.', 24, $this->source); })()), "Translation", [], "any", false, false, false, 24), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 24, $this->source); })()), "request", [], "any", false, false, false, 24), "locale", [], "any", false, false, false, 24), [], "array", false, false, false, 24), "slug", [], "any", false, false, false, 24)], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 24, $this->source); })()), "request", [], "any", false, false, false, 24), "locale", [], "any", false, false, false, 24)], "method", false, false, false, 24));
// line 25
echo "\t\t";
if ((isset($context["href"]) || array_key_exists("href", $context) ? $context["href"] : (function () { throw new RuntimeError('Variable "href" does not exist.', 25, $this->source); })())) {
// line 26
echo "\t\t\t<div class=\"object__item-wrap\">
\t\t\t\t
\t\t\t\t<h3 class=\"object__item-wrap__title\">";
// line 28
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("T_OBJECT_URL", [], "openform_front", twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 28, $this->source); })()), "request", [], "any", false, false, false, 28), "locale", [], "any", false, false, false, 28)), "html", null, true);
echo ":</h3>
\t\t\t\t<div class=\"object__item-wrap__text\">
\t\t\t\t\t<a href=\"";
// line 31
echo twig_escape_filter($this->env, (isset($context["href"]) || array_key_exists("href", $context) ? $context["href"] : (function () { throw new RuntimeError('Variable "href" does not exist.', 31, $this->source); })()), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, (isset($context["href"]) || array_key_exists("href", $context) ? $context["href"] : (function () { throw new RuntimeError('Variable "href" does not exist.', 31, $this->source); })()), "html", null, true);
echo "</a>
\t\t\t\t</div>
\t\t\t</div>
\t\t";
}
// line 35
echo "\t</div>
</div>";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function getTemplateName()
{
return "@openform_front_templates/AntiqueSuit/_templates/_sections/_section-6.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 116 => 35, 107 => 31, 101 => 28, 97 => 26, 94 => 25, 91 => 24, 84 => 20, 78 => 17, 75 => 16, 73 => 15, 70 => 14, 65 => 11, 63 => 10, 57 => 7, 54 => 6, 52 => 5, 46 => 2, 43 => 1,);
}
public function getSourceContext()
{
return new Source("<div class=\"object__wrapper object__wrapper--last object__item__section\">
\t<div class=\"object__wrapper__title object__wrapper__title--mb-20\">{{ ('T_RECORD_INFORMATION')|trans({}, 'openform_front', app.request.locale) }}:</div>
\t<div class=\"object__wrapper__list\">
\t\t{% if entity.Translation[app.request.locale].updatedAt %}
\t\t\t<div class=\"object__item-wrap\">
\t\t\t\t<h3 class=\"object__item-wrap__title\">{{ ('T_UPDATE_AT')|trans({}, 'openform_front', app.request.locale) }}:</h3>
\t\t\t\t<div class=\"object__item-wrap__text\">
\t\t\t\t\t{% include('@openform_front_templates/AntiqueSuit/_templates/_fields/_date_and_age.html.twig') with {'date': entity.Translation[app.request.locale].updatedAt} %}
\t\t\t\t</div>
\t\t\t</div>
\t\t{% endif %}
\t\t{% if entity.id %}
\t\t\t<div class=\"object__item-wrap\">
\t\t\t\t<h3 class=\"object__item-wrap__title\">{{ ('T_ID_NUMBER')|trans({}, 'openform_front', app.request.locale) }}:</h3>
\t\t\t\t<div class=\"object__item-wrap__text\">
\t\t\t\t\t{{ entity.id }}
\t\t\t\t</div>
\t\t\t</div>
\t\t{% endif %}
\t\t{% set href = app.request.getSchemeAndHttpHost() ~ toolkit_route_localizer.generate('antique_item',{ slug : entity.Translation[app.request.locale].slug }, app.request.locale) %}
\t\t{% if href %}
\t\t\t<div class=\"object__item-wrap\">
\t\t\t\t
\t\t\t\t<h3 class=\"object__item-wrap__title\">{{ ('T_OBJECT_URL')|trans({}, 'openform_front', app.request.locale) }}:</h3>
\t\t\t\t<div class=\"object__item-wrap__text\">
\t\t\t\t\t<a href=\"{{ href }}\">{{ href }}</a>
\t\t\t\t</div>
\t\t\t</div>
\t\t{% endif %}
\t</div>
</div>", "@openform_front_templates/AntiqueSuit/_templates/_sections/_section-6.html.twig", "/var/www/php81/fpd.in.openform.pl/src/Package/Openform/Front/Templates/AntiqueSuit/_templates/_sections/_section-6.html.twig");
}
}