<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\MacroNamespace;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Sandbox\SecurityNotAllowedTestError;
use Twig\Source;
use Twig\Template;
use Twig\TemplateWrapper;
/* step1.html.twig */
class __TwigTemplate_a812f51f31fdb197afad6ea7467c8843 extends Template
{
private Source $source;
/**
* @var array<string, MacroNamespace>
*/
private array $macros = [];
private \Twig\Runtime\EscaperRuntime $escaper;
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->escaper = $env->getRuntime('Twig\Runtime\EscaperRuntime');
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$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", "step1.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "step1.html.twig"));
// line 1
$macros["͜macros"] = $this->macros["͜macros"] = $this->load("macros.html.twig", 1)->unwrap()->getMacroNamespace();
// line 2
yield "
<div class=\"bs5-col-lg-12 notification-form__border--bottom\">
<div class=\"notification-form__item bs5-w-100\">
<div class=\"notification-form__space\">
<div class=\"bs5-d-flex bs5-align-items bs5-mb-3\">
<i class=\"glyphicon car notification-form__icon\"></i>
<h6 class=\"notification-form__subtitle\">Samochód <span>(Twój pojazd)</span></h6>
</div>
<div class=\"bs5-row\">
<div class=\"form-group bs5-col-12 bs5-col-md-8 bs5-form-group form__group--space-small\">
";
// line 12
if (((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 12, $this->source); })()) == "create")) {
// line 13
yield " <input type=\"text\" name=\"form[car_registration]\" value=\"\" class=\"bs5-form-control form__control form__control--medium-size form__control--border-dark form__control--digits-and-letters-only form__control--border-required\" placeholder=\"Numer rejestracyjny\" title=\"Numer rejestracyjny\">
";
} else {
// line 15
yield " <div class=\"data-ready\">Numer rejestracyjny: <strong>";
yield (string) $this->escaper->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 15, $this->source); })()), "car_registration", [], "array", false, false, false, 15), "html", null, true);
yield "</strong></div>
";
}
// line 17
yield " </div>
<div class=\"form-group bs5-col-12 bs5-col-md-8 bs5-form-group form__group--space-small\">
";
// line 19
if (((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 19, $this->source); })()) == "create")) {
// line 20
yield " <input type=\"text\" name=\"form[vin]\" class=\"bs5-form-control form__control form__control--medium-size form__control--border-dark form__control--digits-and-letters-only form__control--border-required\" placeholder=\"Numer VIN (5 ostatnich znaków)\" title=\"Numer VIN (5 ostatnich znaków)\">
";
} else {
// line 22
yield " <div class=\"data-ready\">Numer VIN: <strong>";
yield (string) $this->escaper->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 22, $this->source); })()), "car_vin", [], "array", false, false, false, 22), "html", null, true);
yield "</strong></div>
";
}
// line 24
yield " </div>
<div class=\"bs5-col-12 bs5-form-group form__group--space-small car-brand-container\" style=\"display: none;\">
";
// line 26
if (((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 26, $this->source); })()) == "create")) {
// line 27
yield " <div class=\"data-ready car-brand\">Marka: <strong></strong></div>
<input type=\"hidden\" name=\"form[brand]\" value=\"\"/>
";
// line 37
yield " ";
} else {
// line 38
yield " <div class=\"data-ready\">Marka: <strong>";
yield (string) $this->escaper->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "car_brand", [], "array", true, true, false, 38)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 38, $this->source); })()), "car_brand", [], "array", false, false, false, 38), "b.d.")) : ("b.d.")), "html", null, true);
yield "</strong></div>
";
}
// line 40
yield " </div>
<div class=\"bs5-col-12 bs5-form-group form__group--space-small car-model-container\" style=\"display: none;\">
";
// line 42
if (((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 42, $this->source); })()) == "create")) {
// line 43
yield " <div class=\"data-ready car-model\">Model: <strong></strong></div>
<input type=\"hidden\" name=\"form[model]\" value=\"\"/>
";
// line 48
yield " ";
} else {
// line 49
yield " <div class=\"data-ready\">Model: <strong>";
yield (string) $this->escaper->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "car_model", [], "array", true, true, false, 49)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 49, $this->source); })()), "car_model", [], "array", false, false, false, 49), "b.d.")) : ("b.d.")), "html", null, true);
yield "</strong></div>
";
}
// line 51
yield " </div>
</div>
</div>
</div>
</div>
<div class=\"bs5-col-lg-12 notification-form__border--bottom notification-form__expanded\">
<div class=\"notification-form__item bs5-w-100\">
<div class=\"notification-form__space reporting-person-data\">
<div class=\"bs5-d-flex bs5-align-items bs5-mb-3\">
<i class=\"glyphicon user notification-form__icon\"></i>
<h6 class=\"notification-form__subtitle\">Dane zgłaszającego</h6>
</div>
<div class=\"bs5-row\">
<div class=\"bs5-col-12 bs5-form-group form__group--space-small\">
";
// line 66
if (((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 66, $this->source); })()) == "create")) {
// line 67
yield " <input type=\"text\" name=\"form[reporting_person][name]\" class=\"bs5-form-control form__control form__control--medium-size form__control--border-dark form__control--border-required\" type=\"text\" placeholder=\"Imię\" title=\"Imię\">
";
} else {
// line 69
yield " <div class=\"data-ready\">Imię: <strong>";
yield (string) $this->escaper->escape(((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "reporting_person", [], "array", false, true, false, 69), "name", [], "array", true, true, false, 69)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 69, $this->source); })()), "reporting_person", [], "array", false, false, false, 69), "name", [], "array", false, false, false, 69), "b.d.")) : ("b.d.")), "html", null, true);
yield "</strong></div>
";
}
// line 71
yield " </div>
<div class=\"bs5-col-12 bs5-form-group form__group--space-small\">
";
// line 73
if (((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 73, $this->source); })()) == "create")) {
// line 74
yield " <input type=\"text\" name=\"form[reporting_person][surname]\" class=\"bs5-form-control form__control form__control--medium-size form__control--border-dark form__control--border-required\" type=\"text\" placeholder=\"Nazwisko\" title=\"Nazwisko\">
";
} else {
// line 76
yield " <div class=\"data-ready\">Nazwisko: <strong>";
yield (string) $this->escaper->escape(((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "reporting_person", [], "array", false, true, false, 76), "surname", [], "array", true, true, false, 76)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 76, $this->source); })()), "reporting_person", [], "array", false, false, false, 76), "surname", [], "array", false, false, false, 76), "b.d.")) : ("b.d.")), "html", null, true);
yield "</strong></div>
";
}
// line 78
yield " </div>
<div class=\"bs5-col-12 bs5-form-group form__group--space-small\">
";
// line 80
if (((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 80, $this->source); })()) == "create")) {
// line 81
yield " <div class=\"bs5-input-group\">
<div class=\"bs5-col-3\">
<select name=\"form[reporting_person][phone_prefix]\" class=\"bs5-form-select form__select form__select--border-left form__select--medium-size form__select--border-dark\">
";
// line 84
yield (string) ($macros["͜macros"] ?? $this->throwUninitializedMacroNamespace(84))->call("areaCodesDropdown", [(isset($context["areaCodes"]) || array_key_exists("areaCodes", $context) ? $context["areaCodes"] : (function () { throw new RuntimeError('Variable "areaCodes" does not exist.', 84, $this->source); })())], $context, 84, $this->source);
yield "
</select>
</div>
<div class=\"bs5-col-9\">
<input type=\"text\" name=\"form[reporting_person][phone]\" class=\"bs5-form-control form__control--border-left form__control form__control--medium-size form__control--border-dark form__control--border-required form__control--digits-only\" type=\"text\" placeholder=\"Numer telefonu\" title=\"Numer telefonu\">
</div>
</div>
";
} else {
// line 92
yield " <div class=\"data-ready\">Numer telefonu: <strong>";
yield (string) $this->escaper->escape(((((($tmp = ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "reporting_person", [], "array", false, true, false, 92), "phone", [], "array", true, true, false, 92)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 92, $this->source); })()), "reporting_person", [], "array", false, false, false, 92), "phone", [], "array", false, false, false, 92), null)) : (null))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "reporting_person", [], "array", false, true, false, 92), "phone_prefix", [], "array", false, true, false, 92), "code", [], "array", true, true, false, 92)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 92, $this->source); })()), "reporting_person", [], "array", false, false, false, 92), "phone_prefix", [], "array", false, false, false, 92), "code", [], "array", false, false, false, 92), "")) : (""))) : ("")) . ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "reporting_person", [], "array", false, true, false, 92), "phone", [], "array", true, true, false, 92)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 92, $this->source); })()), "reporting_person", [], "array", false, false, false, 92), "phone", [], "array", false, false, false, 92), "b.d.")) : ("b.d."))), "html", null, true);
yield "</strong></div>
";
}
// line 94
yield " </div>
<div class=\"bs5-col-12 bs5-form-group form__group--space-small\">
";
// line 96
if (((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 96, $this->source); })()) == "create")) {
// line 97
yield " <input type=\"text\" name=\"form[reporting_person][email]\" class=\"bs5-form-control form__control form__control--medium-size form__control--border-dark form__control--border-required\" type=\"email\" placeholder=\"Adres e-mail\" title=\"Adres e-mail\">
";
} else {
// line 99
yield " <div class=\"data-ready\">Email: <strong>";
yield (string) $this->escaper->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 99, $this->source); })()), "reporting_person", [], "array", false, false, false, 99), "email", [], "array", false, false, false, 99), "html", null, true);
yield "</strong></div>
";
}
// line 101
yield " </div>
</div>
</div>
</div>
</div>
<div class=\"bs5-col-lg-12 notification-form__border--bottom notification-form__expanded\">
<div class=\"notification-form__item bs5-w-100\">
<div class=\"notification-form__space\">
<div class=\"bs5-d-flex bs5-align-items bs5-mb-3\">
<i class=\"glyphicon cars notification-form__icon\"></i>
<h6 class=\"notification-form__subtitle\">Zdarzenie</h6>
</div>
<div class=\"bs5-row\">
<div class=\"bs5-col-12 bs5-form-group form__group--space-small\">
";
// line 116
if ((((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 116, $this->source); })()) == "create") || CoreExtension::getAttribute($this->env, $this->source, ($context["fields"] ?? null), "damage_place", [], "array", true, true, false, 116))) {
// line 117
yield " <input type=\"text\" name=\"form[damage_place]\" value=\"";
yield (string) $this->escaper->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "damage_place", [], "array", true, true, false, 117)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 117, $this->source); })()), "damage_place", [], "array", false, false, false, 117), "")) : ("")), "html", null, true);
yield "\" class=\"bs5-form-control form__control form__control--medium-size form__control--border-dark";
if (((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 117, $this->source); })()) == "create")) {
yield " form__control--border-required";
}
yield "\" placeholder=\"Miejsce zdarzenia (miejscowość, ulica, odcinek drogi)\" title=\"Miejsce zdarzenia\">
";
} else {
// line 119
yield " <div class=\"data-ready\">Miejsce zdarzenia: <strong>";
yield (string) $this->escaper->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 119, $this->source); })()), "damage_place", [], "array", false, false, false, 119), "html", null, true);
yield "</strong></div>
";
}
// line 121
yield " </div>
<div class=\"bs5-col-12 bs5-form-group form__group--space-small\">
";
// line 123
if ((((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 123, $this->source); })()) == "create") || CoreExtension::getAttribute($this->env, $this->source, ($context["fields"] ?? null), "damage_date", [], "array", true, true, false, 123))) {
// line 124
yield " <input type=\"text\" name=\"form[damage_date]\" value=\"";
yield (string) $this->escaper->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "damage_date", [], "array", true, true, false, 124)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 124, $this->source); })()), "damage_date", [], "array", false, false, false, 124), "")) : ("")), "html", null, true);
yield "\" class=\"bs5-form-control form__control form__control--medium-size form__control--border-dark";
if (((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 124, $this->source); })()) == "create")) {
yield " form__control--border-required";
}
yield " bs5-pe-5 js-date damage-date\" placeholder=\"Data zdarzenia - wybierz\" title=\"Data zdarzenia\" readonly=\"readonly\" data-current-date=\"";
yield (string) $this->escaper->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate("now", "Y-m-d"), "html", null, true);
yield "\">
<span class=\"input-group-addon bs5-w-auto datepicker__icon\"><i class=\"glyphicon calendar\"></i></span>
";
} else {
// line 127
yield " <div class=\"data-ready\">Data zdarzenia: <span class=\"text-bold damage-date\" data-current-date=\"";
yield (string) $this->escaper->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate("now", "Y-m-d"), "html", null, true);
yield "\">";
yield (string) $this->escaper->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "damage_date", [], "array", true, true, false, 127)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 127, $this->source); })()), "damage_date", [], "array", false, false, false, 127), "b.d.")) : ("b.d.")), "html", null, true);
yield "</span></div>
";
}
// line 129
yield " </div>
<div class=\"bs5-col-12 bs5-form-group form__group--space-small\">
";
// line 131
if ((((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 131, $this->source); })()) == "create") || CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["fields"] ?? null), "extended_info", [], "array", false, true, false, 131), "damage_notice_date", [], "array", true, true, false, 131))) {
// line 132
yield " <input type=\"text\" name=\"form[extended_info][damage_notice_date]\" value=\"";
yield (string) $this->escaper->escape(((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "extended_info", [], "array", false, true, false, 132), "damage_notice_date", [], "array", true, true, false, 132)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 132, $this->source); })()), "extended_info", [], "array", false, false, false, 132), "damage_notice_date", [], "array", false, false, false, 132), "")) : ("")), "html", null, true);
yield "\" class=\"bs5-form-control form__control form__control--medium-size form__control--border-dark";
if (((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 132, $this->source); })()) == "create")) {
yield " form__control--border-required";
}
yield " bs5-pe-5 js-date damage-notice-date\" placeholder=\"Data zauważenia szkody - wybierz\" title=\"Data zauważenia szkody\" readonly=\"readonly\">
<span class=\"input-group-addon bs5-w-auto datepicker__icon\"><i class=\"glyphicon calendar\"></i></span>
";
} else {
// line 135
yield " <div class=\"data-ready\">Data zauważenia szkody: <span class=\"text-bold damage-notice-date\">";
yield (string) $this->escaper->escape(((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "extended_info", [], "array", false, true, false, 135), "damage_notice_date", [], "array", true, true, false, 135)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 135, $this->source); })()), "extended_info", [], "array", false, false, false, 135), "damage_notice_date", [], "array", false, false, false, 135), "b.d.")) : ("b.d.")), "html", null, true);
yield "</span></div>
";
}
// line 137
yield " </div>
<div class=\"bs5-col-12 bs5-form-group form__group--space-small\">
";
// line 139
if ((((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 139, $this->source); })()) == "create") || CoreExtension::getAttribute($this->env, $this->source, ($context["fields"] ?? null), "damage_cause", [], "array", true, true, false, 139))) {
// line 140
yield " <select name=\"form[damage_cause]\" class=\"bs5-form-select form__select form__select--medium-size form__select--border-dark";
if (((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 140, $this->source); })()) == "create")) {
yield " form__control--border-required";
}
yield "\" title=\"Przyczyna powstania szkody\">
<option value=\"\">- przyczyna powstania szkody -</option>
";
// line 142
if ((is_iterable((isset($context["damageCauses"]) || array_key_exists("damageCauses", $context) ? $context["damageCauses"] : (function () { throw new RuntimeError('Variable "damageCauses" does not exist.', 142, $this->source); })())) && (Twig\Extension\CoreExtension::length($this->env->getCharset(), (isset($context["damageCauses"]) || array_key_exists("damageCauses", $context) ? $context["damageCauses"] : (function () { throw new RuntimeError('Variable "damageCauses" does not exist.', 142, $this->source); })())) > 0))) {
// line 143
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["damageCauses"]) || array_key_exists("damageCauses", $context) ? $context["damageCauses"] : (function () { throw new RuntimeError('Variable "damageCauses" does not exist.', 143, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["damageCause"]) {
// line 144
yield " ";
$context["viewVariant"] = null;
// line 145
yield " ";
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["viewVariants"]) || array_key_exists("viewVariants", $context) ? $context["viewVariants"] : (function () { throw new RuntimeError('Variable "viewVariants" does not exist.', 145, $this->source); })()));
foreach ($context['_seq'] as $context["variantKey"] => $context["damageCauseIds"]) {
// line 146
yield " ";
if (CoreExtension::inFilter(CoreExtension::getAttribute($this->env, $this->source, $context["damageCause"], "id", [], "any", false, false, false, 146), $context["damageCauseIds"])) {
// line 147
yield " ";
$context["viewVariant"] = $context["variantKey"];
// line 148
yield " ";
}
// line 149
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['variantKey'], $context['damageCauseIds'], $context['_parent']);
$context = array_intersect_key($context, $_parent);
$context += $_parent;
// line 150
yield " ";
if (CoreExtension::getAttribute($this->env, $this->source, $context["damageCause"], "id", [], "any", true, true, false, 150)) {
// line 151
yield " <option value=\"";
yield (string) $this->escaper->escape(CoreExtension::getAttribute($this->env, $this->source, $context["damageCause"], "id", [], "any", false, false, false, 151), "html", null, true);
yield "\"";
if ((((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "damage_cause", [], "array", false, true, false, 151), "id", [], "array", true, true, false, 151)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 151, $this->source); })()), "damage_cause", [], "array", false, false, false, 151), "id", [], "array", false, false, false, 151), null)) : (null)) == CoreExtension::getAttribute($this->env, $this->source, $context["damageCause"], "id", [], "any", false, false, false, 151))) {
yield " selected=\"selected\"";
}
if ( !((isset($context["viewVariant"]) || array_key_exists("viewVariant", $context) ? $context["viewVariant"] : (function () { throw new RuntimeError('Variable "viewVariant" does not exist.', 151, $this->source); })()) === null)) {
yield " data-view-variant=\"";
yield (string) $this->escaper->escape((isset($context["viewVariant"]) || array_key_exists("viewVariant", $context) ? $context["viewVariant"] : (function () { throw new RuntimeError('Variable "viewVariant" does not exist.', 151, $this->source); })()), "html", null, true);
yield "\"";
}
yield ">";
yield (string) $this->escaper->escape(CoreExtension::getAttribute($this->env, $this->source, $context["damageCause"], "name", [], "any", false, false, false, 151), "html", null, true);
yield "</option>
";
}
// line 153
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['damageCause'], $context['_parent']);
$context = array_intersect_key($context, $_parent);
$context += $_parent;
// line 154
yield " ";
}
// line 155
yield " </select>
";
} else {
// line 157
yield " <div class=\"data-ready\">Przyczyna powstania szkody: <strong>";
yield (string) $this->escaper->escape(((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "damage_cause", [], "array", false, true, false, 157), "name", [], "array", true, true, false, 157)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 157, $this->source); })()), "damage_cause", [], "array", false, false, false, 157), "name", [], "array", false, false, false, 157), "b.d.")) : ("b.d.")), "html", null, true);
yield "</strong></div>
";
}
// line 159
yield " </div>
<div class=\"bs5-col-12 bs5-form-group form__group\">
";
// line 161
if ((((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 161, $this->source); })()) == "create") || CoreExtension::getAttribute($this->env, $this->source, ($context["fields"] ?? null), "damage_description", [], "array", true, true, false, 161))) {
// line 162
yield " <textarea name=\"form[damage_description]\" class=\"bs5-form-control form__control form__control--medium-size form__control--border-dark";
if (((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 162, $this->source); })()) == "create")) {
yield " form__control--border-required";
}
yield "\" rows=\"5\" maxlength=\"1300\" placeholder=\"Opis uszkodzeń pojazdu (max 1300 znaków)\" title=\"Opis uszkodzeń pojazdu (max 1300 znaków)\">";
yield (string) $this->escaper->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "damage_description", [], "array", true, true, false, 162)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 162, $this->source); })()), "damage_description", [], "array", false, false, false, 162), "")) : ("")), "html", null, true);
yield "</textarea>
";
} else {
// line 164
yield " <div class=\"data-ready\">Opis uszkodzeń pojazdu: <strong>";
yield (string) Twig\Extension\CoreExtension::nl2br($this->escaper->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 164, $this->source); })()), "damage_description", [], "array", false, false, false, 164), "html", null, true));
yield "</strong></div>
";
}
// line 166
yield " </div>
<div class=\"bs5-col-12 bs5-form-group form__group\">
";
// line 168
if ((((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 168, $this->source); })()) == "create") || CoreExtension::getAttribute($this->env, $this->source, ($context["fields"] ?? null), "incident_description", [], "array", true, true, false, 168))) {
// line 169
yield " <textarea name=\"form[incident_description]\" class=\"bs5-form-control form__control form__control--medium-size form__control--border-dark";
if (((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 169, $this->source); })()) == "create")) {
yield " form__control--border-required";
}
yield "\" rows=\"5\" maxlength=\"1300\" placeholder=\"Opis okoliczności zdarzenia (max 1300 znaków)\" title=\"Opis okoliczności zdarzenia (max 1300 znaków)\">";
yield (string) $this->escaper->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "incident_description", [], "array", true, true, false, 169)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 169, $this->source); })()), "incident_description", [], "array", false, false, false, 169), "")) : ("")), "html", null, true);
yield "</textarea>
";
} else {
// line 171
yield " <div class=\"data-ready\">Opis okoliczności zdarzenia: <strong>";
yield (string) Twig\Extension\CoreExtension::nl2br($this->escaper->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 171, $this->source); })()), "incident_description", [], "array", false, false, false, 171), "html", null, true));
yield "</strong></div>
";
}
// line 173
yield " </div>
<div class=\"bs5-col-12 bs5-form-group form__group bs5-mb-0\">
";
// line 175
if ((((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 175, $this->source); })()) == "create") || CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["fields"] ?? null), "extended_info", [], "array", false, true, false, 175), "city_of_car_use", [], "array", true, true, false, 175))) {
// line 176
yield " <input type=\"text\" name=\"form[extended_info][city_of_car_use]\" class=\"bs5-form-control form__control form__control--medium-size form__control--border-dark\" placeholder=\"Aktualne miasto użytkowania pojazdu\">
";
} else {
// line 178
yield " <div class=\"data-ready\">Aktualne miasto użytkowania pojazdu: <strong>";
yield (string) $this->escaper->escape(((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "extended_info", [], "array", false, true, false, 178), "city_of_car_use", [], "array", true, true, false, 178)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 178, $this->source); })()), "extended_info", [], "array", false, false, false, 178), "city_of_car_use", [], "array", false, false, false, 178), "b.d.")) : ("b.d.")), "html", null, true);
yield "</strong></div>
";
}
// line 180
yield " </div>
</div>
</div>
</div>
</div>
<div class=\"bs5-col-lg-12 notification-form__border--bottom notification-form__expanded\" data-view-variants-disabled=\"1,2,3\" style=\"display: none;\">
<div class=\"notification-form__item bs5-w-100\">
<div class=\"notification-form__space car-user-data\">
<div class=\"bs5-d-flex bs5-align-items bs5-mb-3\">
<i class=\"glyphicon user notification-form__icon\"></i>
<h6 class=\"notification-form__subtitle\">Dane kierującego</h6>
</div>
";
// line 193
if ((((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 193, $this->source); })()) == "create") || CoreExtension::getAttribute($this->env, $this->source, ($context["fields"] ?? null), "driver", [], "array", true, true, false, 193))) {
// line 194
yield " <div class=\"bs5-col-12 bs5-col-md-6 form__group--space-small\">
<div class=\"bs5-form-check form__check bs5-ps-0\">
<input class=\"bs5-form-check-input form__chceck-input\" type=\"checkbox\" name=\"form[car_user_data_as_reporting_person]\" value=\"1\" id=\"car_user_data_as_reporting_person\">
<label class=\"bs5-form-check-label form__chceck-label\" for=\"car_user_data_as_reporting_person\">
takie same jak zgłaszającego
</label>
</div>
</div>
";
}
// line 203
yield " <div class=\"bs5-col-12 bs5-form-group form__group--space-small\">
";
// line 204
if ((((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 204, $this->source); })()) == "create") || CoreExtension::getAttribute($this->env, $this->source, ($context["fields"] ?? null), "driver", [], "array", true, true, false, 204))) {
// line 205
yield " <input type=\"text\" name=\"form[car_user_name]\" value=\"";
yield (string) $this->escaper->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "car_user_name", [], "array", true, true, false, 205)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 205, $this->source); })()), "car_user_name", [], "array", false, false, false, 205), "")) : ("")), "html", null, true);
yield "\" class=\"bs5-form-control form__control form__control--medium-size form__control--border-dark\" placeholder=\"Imię\"/>
";
} else {
// line 207
yield " <div class=\"data-ready\">Imię: <strong>";
yield (string) $this->escaper->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "car_user_name", [], "array", true, true, false, 207)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 207, $this->source); })()), "car_user_name", [], "array", false, false, false, 207), "b.d.")) : ("b.d.")), "html", null, true);
yield "</strong></div>
";
}
// line 209
yield " </div>
<div class=\"bs5-col-12 bs5-form-group form__group--space-small\">
";
// line 211
if ((((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 211, $this->source); })()) == "create") || CoreExtension::getAttribute($this->env, $this->source, ($context["fields"] ?? null), "driver", [], "array", true, true, false, 211))) {
// line 212
yield " <input type=\"text\" name=\"form[car_user_surname]\" value=\"";
yield (string) $this->escaper->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "car_user_surname", [], "array", true, true, false, 212)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 212, $this->source); })()), "car_user_surname", [], "array", false, false, false, 212), "")) : ("")), "html", null, true);
yield "\" class=\"bs5-form-control form__control form__control--medium-size form__control--border-dark\" placeholder=\"Nazwisko\"/>
";
} else {
// line 214
yield " <div class=\"data-ready\">Nazwisko: <strong>";
yield (string) $this->escaper->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "car_user_surname", [], "array", true, true, false, 214)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 214, $this->source); })()), "car_user_surname", [], "array", false, false, false, 214), "b.d.")) : ("b.d.")), "html", null, true);
yield "</strong></div>
";
}
// line 216
yield " </div>
<div class=\"bs5-col-12 bs5-form-group form__group--space-small\">
";
// line 218
if ((((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 218, $this->source); })()) == "create") || CoreExtension::getAttribute($this->env, $this->source, ($context["fields"] ?? null), "driver", [], "array", true, true, false, 218))) {
// line 219
yield " <div class=\"bs5-input-group\">
<div class=\"bs5-col-3\">
<select name=\"form[car_user_phone_prefix]\" class=\"bs5-form-control bs5-form-select form__select form__select--border-left form__select--medium-size form__select--border-dark\">
";
// line 222
yield (string) ($macros["͜macros"] ?? $this->throwUninitializedMacroNamespace(222))->call("areaCodesDropdown", [(isset($context["areaCodes"]) || array_key_exists("areaCodes", $context) ? $context["areaCodes"] : (function () { throw new RuntimeError('Variable "areaCodes" does not exist.', 222, $this->source); })()), ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "car_user_phone_prefix", [], "array", false, true, false, 222), "code", [], "array", true, true, false, 222)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 222, $this->source); })()), "car_user_phone_prefix", [], "array", false, false, false, 222), "code", [], "array", false, false, false, 222), "")) : (""))], $context, 222, $this->source);
yield "
</select>
</div>
<div class=\"bs5-col-9\">
<input type=\"text\" name=\"form[car_user_phone]\" value=\"";
// line 226
yield (string) $this->escaper->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "car_user_phone", [], "array", true, true, false, 226)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 226, $this->source); })()), "car_user_phone", [], "array", false, false, false, 226), "")) : ("")), "html", null, true);
yield "\" class=\"bs5-form-control form__control--border-left form__control form__control--medium-size form__control--border-dark form__control--digits-only\" type=\"text\" placeholder=\"Numer telefonu\"/>
</div>
</div>
";
} else {
// line 230
yield " <div class=\"data-ready\">Numer telefonu: <strong>";
yield (string) $this->escaper->escape(((((($tmp = ((CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "car_user_phone", [], "array", true, true, false, 230)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 230, $this->source); })()), "car_user_phone", [], "array", false, false, false, 230), null)) : (null))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "car_user_phone_prefix", [], "array", false, true, false, 230), "code", [], "array", true, true, false, 230)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 230, $this->source); })()), "car_user_phone_prefix", [], "array", false, false, false, 230), "code", [], "array", false, false, false, 230), "")) : (""))) : ("")) . ((CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "car_user_phone", [], "array", true, true, false, 230)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 230, $this->source); })()), "car_user_phone", [], "array", false, false, false, 230), "b.d.")) : ("b.d."))), "html", null, true);
yield "</strong></div>
";
}
// line 232
yield " </div>
<div class=\"bs5-col-12 bs5-form-group form__group--space-small\">
";
// line 234
if ((((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 234, $this->source); })()) == "create") || CoreExtension::getAttribute($this->env, $this->source, ($context["fields"] ?? null), "driver", [], "array", true, true, false, 234))) {
// line 235
yield " <input type=\"text\" name=\"form[car_user_email]\" value=\"";
yield (string) $this->escaper->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "car_user_email", [], "array", true, true, false, 235)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 235, $this->source); })()), "car_user_email", [], "array", false, false, false, 235), "")) : ("")), "html", null, true);
yield "\" class=\"bs5-form-control form__control form__control--medium-size form__control--border-dark\" placeholder=\"Adres e-mail\"/>
";
} else {
// line 237
yield " <div class=\"data-ready\">Email: <strong>";
yield (string) $this->escaper->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "car_user_email", [], "array", true, true, false, 237)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 237, $this->source); })()), "car_user_email", [], "array", false, false, false, 237), "b.d.")) : ("b.d.")), "html", null, true);
yield "</strong></div>
";
}
// line 239
yield " </div>
</div>
</div>
</div>
<div class=\"bs5-col-lg-12 notification-form__border--bottom notification-form__expanded\" data-view-variants-disabled=\"1,2,3\" style=\"display: none;\">
<div class=\"notification-form__item bs5-w-100\">
<div class=\"notification-form__space\">
<div class=\"bs5-d-flex bs5-align-items bs5-mb-4\">
<i class=\"glyphicon cars notification-form__icon\"></i>
<h6 class=\"notification-form__subtitle\">Dane zdarzenia - szczegóły</h6>
</div>
<div class=\"bs5-row bs5-mb-1 bs5-pb-2\">
<div class=\"bs5-col-12 bs5-form-group form__group--space-small\">
<fieldset class=\"bs5-row form__fieldset\">
<div class=\"bs5-col-12 bs5-col-lg-8\">
<legend class=\"bs5-col-form-label pt-0 form__legend\">Czy na miejscu interweniowała policja? <strong class=\"form__control--required\">*</strong></legend>
</div>
<div class=\"bs5-col-12 bs5-col-lg-4 bs5-d-flex bs5-align-items-center bs5-flex-wrap bs5-justify-content-lg-end form__group\">
";
// line 258
if ((((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 258, $this->source); })()) == "create") || CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["fields"] ?? null), "extended_info", [], "array", false, true, false, 258), "police_intervention", [], "array", true, true, false, 258))) {
// line 259
yield " <div class=\"bs5-form-check form__check form__check--themes-white bs5-mb-0\">
<input class=\"form-check-input bs5-form-check-input\" type=\"radio\" name=\"form[extended_info][police_intervention]\" id=\"police_intervention_1\" value=\"1\"";
// line 260
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "extended_info", [], "array", false, true, false, 260), "police_intervention", [], "array", true, true, false, 260) && (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 260, $this->source); })()), "extended_info", [], "array", false, false, false, 260), "police_intervention", [], "array", false, false, false, 260) === true))) {
yield " checked=\"checked\"";
}
yield "/>
<label class=\"bs5-form-check-label\" for=\"police_intervention_1\">TAK</label>
</div>
<div class=\"bs5-form-check form__check form__check--themes-white bs5-mb-0\">
<input class=\"form-check-input\" type=\"radio\" name=\"form[extended_info][police_intervention]\" id=\"police_intervention_0\" value=\"0\"";
// line 264
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "extended_info", [], "array", false, true, false, 264), "police_intervention", [], "array", true, true, false, 264) && (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 264, $this->source); })()), "extended_info", [], "array", false, false, false, 264), "police_intervention", [], "array", false, false, false, 264) === false))) {
yield " checked=\"checked\"";
}
yield "/>
<label class=\"bs5-form-check-label\" for=\"police_intervention_0\">NIE</label>
</div>
";
} else {
// line 268
yield " <div class=\"data-ready\" data-police-intervention=\"";
yield (string) ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "extended_info", [], "array", false, true, false, 268), "police_intervention", [], "array", true, true, false, 268)) ? ((((($tmp = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 268, $this->source); })()), "extended_info", [], "array", false, false, false, 268), "police_intervention", [], "array", false, false, false, 268)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? (1) : (0))) : (""));
yield "\"><strong>";
yield (string) (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "extended_info", [], "array", false, true, false, 268), "police_intervention", [], "array", true, true, false, 268) && !(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 268, $this->source); })()), "extended_info", [], "array", false, false, false, 268), "police_intervention", [], "array", false, false, false, 268) === null))) ? ((((($tmp = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 268, $this->source); })()), "extended_info", [], "array", false, false, false, 268), "police_intervention", [], "array", false, false, false, 268)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("TAK") : ("NIE"))) : ("b.d."));
yield "</strong></div>
";
}
// line 270
yield " </div>
</fieldset>
</div>
</div>
<div class=\"bs5-row bs5-mb-1 bs5-pb-2 police-details\">
<div class=\"bs5-col-12 bs5-form-group form__group--space-small\">
";
// line 276
if ((((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 276, $this->source); })()) == "create") || CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["fields"] ?? null), "extended_info", [], "array", false, true, false, 276), "police_unit_name", [], "array", true, true, false, 276))) {
// line 277
yield " <input type=\"text\" name=\"form[extended_info][police_unit_name]\" value=\"";
yield (string) $this->escaper->escape(((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "extended_info", [], "array", false, true, false, 277), "police_unit_name", [], "array", true, true, false, 277)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 277, $this->source); })()), "extended_info", [], "array", false, false, false, 277), "police_unit_name", [], "array", false, false, false, 277), "")) : ("")), "html", null, true);
yield "\" class=\"bs5-form-control form__control form__control--medium-size form__control--border-dark\" placeholder=\"Nazwa jednostki policji\" title=\"Nazwa jednostki policji\">
";
} else {
// line 279
yield " <div class=\"data-ready\">Numer jednostki policyjnej: <strong>";
yield (string) $this->escaper->escape(((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "extended_info", [], "array", false, true, false, 279), "police_unit_name", [], "array", true, true, false, 279)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 279, $this->source); })()), "extended_info", [], "array", false, false, false, 279), "police_unit_name", [], "array", false, false, false, 279), "b.d.")) : ("b.d.")), "html", null, true);
yield "</strong></div>
";
}
// line 281
yield " </div>
<div class=\"bs5-col-12 bs5-form-group form__group--space-small\">
";
// line 283
if ((((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 283, $this->source); })()) == "create") || CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["fields"] ?? null), "extended_info", [], "array", false, true, false, 283), "police_note_number", [], "array", true, true, false, 283))) {
// line 284
yield " <input type=\"text\" name=\"form[extended_info][police_note_number]\" value=\"";
yield (string) $this->escaper->escape(((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "extended_info", [], "array", false, true, false, 284), "police_note_number", [], "array", true, true, false, 284)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 284, $this->source); })()), "extended_info", [], "array", false, false, false, 284), "police_note_number", [], "array", false, false, false, 284), "")) : ("")), "html", null, true);
yield "\" class=\"bs5-form-control form__control form__control--medium-size form__control--border-dark\" placeholder=\"Numer notatki policyjnej* - jeśli występuje\" title=\"Numer notatki policyjnej* - jeśli występuje\">
";
} else {
// line 286
yield " <div class=\"data-ready\">Numer notatki policyjnej: <strong>";
yield (string) $this->escaper->escape(((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "extended_info", [], "array", false, true, false, 286), "police_note_number", [], "array", true, true, false, 286)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 286, $this->source); })()), "extended_info", [], "array", false, false, false, 286), "police_note_number", [], "array", false, false, false, 286), "b.d.")) : ("b.d.")), "html", null, true);
yield "</strong></div>
";
}
// line 288
yield " </div>
<div class=\"bs5-col-12 bs5-form-group form__group--space-small\">
<fieldset class=\"bs5-row form__fieldset\">
<div class=\"bs5-col-12 bs5-col-lg-8\">
<legend class=\"bs5-col-form-label pt-0 form__legend\">Czy sprawca został ukarany?</legend>
</div>
<div class=\"bs5-col-12 bs5-col-lg-4 bs5-d-flex bs5-align-items-center bs5-flex-wrap bs5-justify-content-lg-end\">
";
// line 295
if ((((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 295, $this->source); })()) == "create") || CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["fields"] ?? null), "extended_info", [], "array", false, true, false, 295), "perpetrator_punished", [], "array", true, true, false, 295))) {
// line 296
yield " <div class=\"bs5-form-check form__check form__check--themes-white bs5-mb-0\">
<input class=\"form-check-input\" type=\"radio\" name=\"form[extended_info][perpetrator_punished]\" id=\"perpetrator_punished_1\" value=\"1\"";
// line 297
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "extended_info", [], "array", false, true, false, 297), "perpetrator_punished", [], "array", true, true, false, 297) && (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 297, $this->source); })()), "extended_info", [], "array", false, false, false, 297), "perpetrator_punished", [], "array", false, false, false, 297) === true))) {
yield " checked=\"checked\"";
}
yield "/>
<label class=\"bs5-form-check-label\" for=\"perpetrator_punished_1\">TAK</label>
</div>
<div class=\"bs5-form-check form__check form__check--themes-white bs5-mb-0\">
<input class=\"form-check-input\" type=\"radio\" name=\"form[extended_info][perpetrator_punished]\" id=\"perpetrator_punished_0\" value=\"0\"";
// line 301
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "extended_info", [], "array", false, true, false, 301), "perpetrator_punished", [], "array", true, true, false, 301) && (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 301, $this->source); })()), "extended_info", [], "array", false, false, false, 301), "perpetrator_punished", [], "array", false, false, false, 301) === false))) {
yield " checked=\"checked\"";
}
yield "/>
<label class=\"bs5-form-check-label\" for=\"perpetrator_punished_0\">NIE</label>
</div>
";
} else {
// line 305
yield " <div class=\"data-ready\"><strong>";
yield (string) (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "extended_info", [], "array", false, true, false, 305), "perpetrator_punished", [], "array", true, true, false, 305) && !(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 305, $this->source); })()), "extended_info", [], "array", false, false, false, 305), "perpetrator_punished", [], "array", false, false, false, 305) === null))) ? ((((($tmp = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 305, $this->source); })()), "extended_info", [], "array", false, false, false, 305), "perpetrator_punished", [], "array", false, false, false, 305)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("TAK") : ("NIE"))) : ("b.d."));
yield "</strong></div>
";
}
// line 307
yield " </div>
</fieldset>
</div>
<div class=\"bs5-col-12 bs5-form-group form__group--space-small\">
<fieldset class=\"bs5-row form__fieldset\">
<div class=\"bs5-col-12 bs5-col-lg-8\">
<legend class=\"bs5-col-form-label pt-0 form__legend\">Czy sprawca przyjął mandat?</legend>
</div>
<div class=\"bs5-col-12 bs5-col-lg-4 bs5-d-flex bs5-align-items-center bs5-flex-wrap bs5-justify-content-lg-end\">
";
// line 316
if ((((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 316, $this->source); })()) == "create") || CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["fields"] ?? null), "extended_info", [], "array", false, true, false, 316), "perpetrator_accept_mandate", [], "array", true, true, false, 316))) {
// line 317
yield " <div class=\"bs5-form-check form__check form__check--themes-white bs5-mb-0\">
<input class=\"form-check-input\" type=\"radio\" name=\"form[extended_info][perpetrator_accept_mandate]\" id=\"perpetrator_accept_mandate_1\" value=\"1\"";
// line 318
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "extended_info", [], "array", false, true, false, 318), "perpetrator_accept_mandate", [], "array", true, true, false, 318) && (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 318, $this->source); })()), "extended_info", [], "array", false, false, false, 318), "perpetrator_accept_mandate", [], "array", false, false, false, 318) === true))) {
yield " checked=\"checked\"";
}
yield "/>
<label class=\"bs5-form-check-label\" for=\"perpetrator_accept_mandate_1\">TAK</label>
</div>
<div class=\"bs5-form-check form__check form__check--themes-white bs5-mb-0\">
<input class=\"form-check-input\" type=\"radio\" name=\"form[extended_info][perpetrator_accept_mandate]\" id=\"perpetrator_accept_mandate_0\" value=\"0\"";
// line 322
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "extended_info", [], "array", false, true, false, 322), "perpetrator_accept_mandate", [], "array", true, true, false, 322) && (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 322, $this->source); })()), "extended_info", [], "array", false, false, false, 322), "perpetrator_accept_mandate", [], "array", false, false, false, 322) === false))) {
yield " checked=\"checked\"";
}
yield "/>
<label class=\"bs5-form-check-label\" for=\"perpetrator_accept_mandate_0\">NIE</label>
</div>
";
} else {
// line 326
yield " <div class=\"data-ready\"><strong>";
yield (string) (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "extended_info", [], "array", false, true, false, 326), "perpetrator_accept_mandate", [], "array", true, true, false, 326) && !(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 326, $this->source); })()), "extended_info", [], "array", false, false, false, 326), "perpetrator_accept_mandate", [], "array", false, false, false, 326) === null))) ? ((((($tmp = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 326, $this->source); })()), "extended_info", [], "array", false, false, false, 326), "perpetrator_accept_mandate", [], "array", false, false, false, 326)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("TAK") : ("NIE"))) : ("b.d."));
yield "</strong></div>
";
}
// line 328
yield " </div>
</fieldset>
</div>
<div class=\"bs5-col-12 bs5-form-group form__group--space-small\">
<fieldset class=\"bs5-row form__fieldset\">
<div class=\"bs5-col-12 bs5-col-lg-8\">
<legend class=\"bs5-col-form-label pt-0 form__legend\">Czy została wykazana współwina?</legend>
</div>
<div class=\"bs5-col-12 bs5-col-lg-4 bs5-d-flex bs5-align-items-center bs5-flex-wrap bs5-justify-content-lg-end\">
";
// line 337
if ((((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 337, $this->source); })()) == "create") || CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["fields"] ?? null), "extended_info", [], "array", false, true, false, 337), "complicity", [], "array", true, true, false, 337))) {
// line 338
yield " <div class=\"bs5-form-check form__check form__check--themes-white bs5-mb-0\">
<input class=\"form-check-input\" type=\"radio\" name=\"form[extended_info][complicity]\" id=\"complicity_1\" value=\"1\"";
// line 339
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "extended_info", [], "array", false, true, false, 339), "complicity", [], "array", true, true, false, 339) && (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 339, $this->source); })()), "extended_info", [], "array", false, false, false, 339), "complicity", [], "array", false, false, false, 339) === true))) {
yield " checked=\"checked\"";
}
yield "/>
<label class=\"bs5-form-check-label\" for=\"complicity_1\">TAK</label>
</div>
<div class=\"bs5-form-check form__check form__check--themes-white bs5-mb-0\">
<input class=\"form-check-input\" type=\"radio\" name=\"form[extended_info][complicity]\" id=\"complicity_0\" value=\"0\"";
// line 343
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "extended_info", [], "array", false, true, false, 343), "complicity", [], "array", true, true, false, 343) && (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 343, $this->source); })()), "extended_info", [], "array", false, false, false, 343), "complicity", [], "array", false, false, false, 343) === false))) {
yield " checked=\"checked\"";
}
yield "/>
<label class=\"bs5-form-check-label\" for=\"complicity_0\">NIE</label>
</div>
";
} else {
// line 347
yield " <div class=\"data-ready\"><strong>";
yield (string) (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "extended_info", [], "array", false, true, false, 347), "complicity", [], "array", true, true, false, 347) && !(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 347, $this->source); })()), "extended_info", [], "array", false, false, false, 347), "complicity", [], "array", false, false, false, 347) === null))) ? ((((($tmp = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 347, $this->source); })()), "extended_info", [], "array", false, false, false, 347), "complicity", [], "array", false, false, false, 347)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("TAK") : ("NIE"))) : ("b.d."));
yield "</strong></div>
";
}
// line 349
yield " </div>
</fieldset>
</div>
</div>
<div class=\"bs5-row no-police\">
<div class=\"bs5-col-12 bs5-form-group form__group--space-small\">
<fieldset class=\"bs5-row form__fieldset\">
<div class=\"bs5-col-12 bs5-col-lg-8\">
<legend class=\"bs5-col-form-label pt-0 form__legend\">Czy spisano oświadczenie sprawcy? <strong class=\"form__control--required\">*</strong></legend>
</div>
<div class=\"bs5-col-12 bs5-col-lg-4 bs5-d-flex bs5-align-items-center bs5-flex-wrap bs5-justify-content-lg-end form__group\">
";
// line 360
if ((((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 360, $this->source); })()) == "create") || CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["fields"] ?? null), "extended_info", [], "array", false, true, false, 360), "perpetrator_statement", [], "array", true, true, false, 360))) {
// line 361
yield " <div class=\"bs5-form-check form__check form__check--themes-white bs5-mb-0\">
<input class=\"form-check-input bs5-form-check-input\" type=\"radio\" name=\"form[extended_info][perpetrator_statement]\" id=\"perpetrator_statement_1\" value=\"1\"";
// line 362
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "extended_info", [], "array", false, true, false, 362), "perpetrator_statement", [], "array", true, true, false, 362) && (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 362, $this->source); })()), "extended_info", [], "array", false, false, false, 362), "perpetrator_statement", [], "array", false, false, false, 362) === true))) {
yield " checked=\"checked\"";
}
yield "/>
<label class=\"bs5-form-check-label\" for=\"perpetrator_statement_1\">TAK</label>
</div>
<div class=\"bs5-form-check form__check form__check--themes-white bs5-mb-0\">
<input class=\"form-check-input\" type=\"radio\" name=\"form[extended_info][perpetrator_statement]\" id=\"perpetrator_statement_0\" value=\"0\"";
// line 366
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "extended_info", [], "array", false, true, false, 366), "perpetrator_statement", [], "array", true, true, false, 366) && (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 366, $this->source); })()), "extended_info", [], "array", false, false, false, 366), "perpetrator_statement", [], "array", false, false, false, 366) === false))) {
yield " checked=\"checked\"";
}
yield "/>
<label class=\"bs5-form-check-label\" for=\"perpetrator_statement_0\">NIE</label>
</div>
";
} else {
// line 370
yield " <div class=\"data-ready\"><strong>";
yield (string) (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["caseData"] ?? null), "extended_info", [], "array", false, true, false, 370), "perpetrator_statement", [], "array", true, true, false, 370) && !(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 370, $this->source); })()), "extended_info", [], "array", false, false, false, 370), "perpetrator_statement", [], "array", false, false, false, 370) === null))) ? ((((($tmp = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["caseData"]) || array_key_exists("caseData", $context) ? $context["caseData"] : (function () { throw new RuntimeError('Variable "caseData" does not exist.', 370, $this->source); })()), "extended_info", [], "array", false, false, false, 370), "perpetrator_statement", [], "array", false, false, false, 370)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) ? ("TAK") : ("NIE"))) : ("b.d."));
yield "</strong></div>
";
}
// line 372
yield " </div>
</fieldset>
</div>
</div>
</div>
</div>
</div>";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
return; yield;
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "step1.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDefaultEscapeStrategy(): string|false
{
return "html";
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 816 => 372, 810 => 370, 801 => 366, 792 => 362, 789 => 361, 787 => 360, 774 => 349, 768 => 347, 759 => 343, 750 => 339, 747 => 338, 745 => 337, 734 => 328, 728 => 326, 719 => 322, 710 => 318, 707 => 317, 705 => 316, 694 => 307, 688 => 305, 679 => 301, 670 => 297, 667 => 296, 665 => 295, 656 => 288, 650 => 286, 644 => 284, 642 => 283, 638 => 281, 632 => 279, 626 => 277, 624 => 276, 616 => 270, 608 => 268, 599 => 264, 590 => 260, 587 => 259, 585 => 258, 564 => 239, 558 => 237, 552 => 235, 550 => 234, 546 => 232, 540 => 230, 533 => 226, 526 => 222, 521 => 219, 519 => 218, 515 => 216, 509 => 214, 503 => 212, 501 => 211, 497 => 209, 491 => 207, 485 => 205, 483 => 204, 480 => 203, 469 => 194, 467 => 193, 452 => 180, 446 => 178, 442 => 176, 440 => 175, 436 => 173, 430 => 171, 420 => 169, 418 => 168, 414 => 166, 408 => 164, 398 => 162, 396 => 161, 392 => 159, 386 => 157, 382 => 155, 379 => 154, 372 => 153, 355 => 151, 352 => 150, 345 => 149, 342 => 148, 339 => 147, 336 => 146, 331 => 145, 328 => 144, 323 => 143, 321 => 142, 313 => 140, 311 => 139, 307 => 137, 301 => 135, 290 => 132, 288 => 131, 284 => 129, 276 => 127, 263 => 124, 261 => 123, 257 => 121, 251 => 119, 241 => 117, 239 => 116, 222 => 101, 216 => 99, 212 => 97, 210 => 96, 206 => 94, 200 => 92, 189 => 84, 184 => 81, 182 => 80, 178 => 78, 172 => 76, 168 => 74, 166 => 73, 162 => 71, 156 => 69, 152 => 67, 150 => 66, 133 => 51, 127 => 49, 124 => 48, 120 => 43, 118 => 42, 114 => 40, 108 => 38, 105 => 37, 101 => 27, 99 => 26, 95 => 24, 89 => 22, 85 => 20, 83 => 19, 79 => 17, 73 => 15, 69 => 13, 67 => 12, 55 => 2, 53 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% import \"macros.html.twig\" as macros %}
<div class=\"bs5-col-lg-12 notification-form__border--bottom\">
<div class=\"notification-form__item bs5-w-100\">
<div class=\"notification-form__space\">
<div class=\"bs5-d-flex bs5-align-items bs5-mb-3\">
<i class=\"glyphicon car notification-form__icon\"></i>
<h6 class=\"notification-form__subtitle\">Samochód <span>(Twój pojazd)</span></h6>
</div>
<div class=\"bs5-row\">
<div class=\"form-group bs5-col-12 bs5-col-md-8 bs5-form-group form__group--space-small\">
{% if mode == \x27create\x27 %}
<input type=\"text\" name=\"form[car_registration]\" value=\"\" class=\"bs5-form-control form__control form__control--medium-size form__control--border-dark form__control--digits-and-letters-only form__control--border-required\" placeholder=\"Numer rejestracyjny\" title=\"Numer rejestracyjny\">
{% else %}
<div class=\"data-ready\">Numer rejestracyjny: <strong>{{ caseData[\x27car_registration\x27] }}</strong></div>
{% endif %}
</div>
<div class=\"form-group bs5-col-12 bs5-col-md-8 bs5-form-group form__group--space-small\">
{% if mode == \x27create\x27 %}
<input type=\"text\" name=\"form[vin]\" class=\"bs5-form-control form__control form__control--medium-size form__control--border-dark form__control--digits-and-letters-only form__control--border-required\" placeholder=\"Numer VIN (5 ostatnich znaków)\" title=\"Numer VIN (5 ostatnich znaków)\">
{% else %}
<div class=\"data-ready\">Numer VIN: <strong>{{ caseData[\x27car_vin\x27] }}</strong></div>
{% endif %}
</div>
<div class=\"bs5-col-12 bs5-form-group form__group--space-small car-brand-container\" style=\"display: none;\">
{% if mode == \x27create\x27 %}
<div class=\"data-ready car-brand\">Marka: <strong></strong></div>
<input type=\"hidden\" name=\"form[brand]\" value=\"\"/>
{# <select name=\"form[brand]\" class=\"bs5-form-select form__select form__select--medium-size form__select--border-dark brands-list\">
<option value=\"\">- wybierz markę -</option>
{% if brands.items is defined and brands.items|length > 0 %}
{% for brand in brands.items %}
<option value=\"{{ brand.id }}\">{{ brand.text }}</option>
{% endfor %}
{% endif %}
</select> #}
{% else %}
<div class=\"data-ready\">Marka: <strong>{{ caseData[\x27car_brand\x27]|default(\x27b.d.\x27) }}</strong></div>
{% endif %}
</div>
<div class=\"bs5-col-12 bs5-form-group form__group--space-small car-model-container\" style=\"display: none;\">
{% if mode == \x27create\x27 %}
<div class=\"data-ready car-model\">Model: <strong></strong></div>
<input type=\"hidden\" name=\"form[model]\" value=\"\"/>
{# <select name=\"form[model]\" class=\"bs5-form-select form__select form__select--medium-size form__select--border-dark models-list\">
<option value=\"\">- wybierz model -</option>
</select> #}
{% else %}
<div class=\"data-ready\">Model: <strong>{{ caseData[\x27car_model\x27]|default(\x27b.d.\x27) }}</strong></div>
{% endif %}
</div>
</div>
</div>
</div>
</div>
<div class=\"bs5-col-lg-12 notification-form__border--bottom notification-form__expanded\">
<div class=\"notification-form__item bs5-w-100\">
<div class=\"notification-form__space reporting-person-data\">
<div class=\"bs5-d-flex bs5-align-items bs5-mb-3\">
<i class=\"glyphicon user notification-form__icon\"></i>
<h6 class=\"notification-form__subtitle\">Dane zgłaszającego</h6>
</div>
<div class=\"bs5-row\">
<div class=\"bs5-col-12 bs5-form-group form__group--space-small\">
{% if mode == \x27create\x27 %}
<input type=\"text\" name=\"form[reporting_person][name]\" class=\"bs5-form-control form__control form__control--medium-size form__control--border-dark form__control--border-required\" type=\"text\" placeholder=\"Imię\" title=\"Imię\">
{% else %}
<div class=\"data-ready\">Imię: <strong>{{ caseData[\x27reporting_person\x27][\x27name\x27]|default(\x27b.d.\x27) }}</strong></div>
{% endif %}
</div>
<div class=\"bs5-col-12 bs5-form-group form__group--space-small\">
{% if mode == \x27create\x27 %}
<input type=\"text\" name=\"form[reporting_person][surname]\" class=\"bs5-form-control form__control form__control--medium-size form__control--border-dark form__control--border-required\" type=\"text\" placeholder=\"Nazwisko\" title=\"Nazwisko\">
{% else %}
<div class=\"data-ready\">Nazwisko: <strong>{{ caseData[\x27reporting_person\x27][\x27surname\x27]|default(\x27b.d.\x27) }}</strong></div>
{% endif %}
</div>
<div class=\"bs5-col-12 bs5-form-group form__group--space-small\">
{% if mode == \x27create\x27 %}
<div class=\"bs5-input-group\">
<div class=\"bs5-col-3\">
<select name=\"form[reporting_person][phone_prefix]\" class=\"bs5-form-select form__select form__select--border-left form__select--medium-size form__select--border-dark\">
{{ macros.areaCodesDropdown(areaCodes) }}
</select>
</div>
<div class=\"bs5-col-9\">
<input type=\"text\" name=\"form[reporting_person][phone]\" class=\"bs5-form-control form__control--border-left form__control form__control--medium-size form__control--border-dark form__control--border-required form__control--digits-only\" type=\"text\" placeholder=\"Numer telefonu\" title=\"Numer telefonu\">
</div>
</div>
{% else %}
<div class=\"data-ready\">Numer telefonu: <strong>{{ (caseData[\x27reporting_person\x27][\x27phone\x27]|default(null) ? caseData[\x27reporting_person\x27][\x27phone_prefix\x27][\x27code\x27]|default(\x27\x27) : \x27\x27) ~ caseData[\x27reporting_person\x27][\x27phone\x27]|default(\x27b.d.\x27) }}</strong></div>
{% endif %}
</div>
<div class=\"bs5-col-12 bs5-form-group form__group--space-small\">
{% if mode == \x27create\x27 %}
<input type=\"text\" name=\"form[reporting_person][email]\" class=\"bs5-form-control form__control form__control--medium-size form__control--border-dark form__control--border-required\" type=\"email\" placeholder=\"Adres e-mail\" title=\"Adres e-mail\">
{% else %}
<div class=\"data-ready\">Email: <strong>{{ caseData[\x27reporting_person\x27][\x27email\x27] }}</strong></div>
{% endif %}
</div>
</div>
</div>
</div>
</div>
<div class=\"bs5-col-lg-12 notification-form__border--bottom notification-form__expanded\">
<div class=\"notification-form__item bs5-w-100\">
<div class=\"notification-form__space\">
<div class=\"bs5-d-flex bs5-align-items bs5-mb-3\">
<i class=\"glyphicon cars notification-form__icon\"></i>
<h6 class=\"notification-form__subtitle\">Zdarzenie</h6>
</div>
<div class=\"bs5-row\">
<div class=\"bs5-col-12 bs5-form-group form__group--space-small\">
{% if mode == \x27create\x27 or fields[\x27damage_place\x27] is defined %}
<input type=\"text\" name=\"form[damage_place]\" value=\"{{ caseData[\x27damage_place\x27]|default(\x27\x27) }}\" class=\"bs5-form-control form__control form__control--medium-size form__control--border-dark{% if mode == \x27create\x27 %} form__control--border-required{% endif %}\" placeholder=\"Miejsce zdarzenia (miejscowość, ulica, odcinek drogi)\" title=\"Miejsce zdarzenia\">
{% else %}
<div class=\"data-ready\">Miejsce zdarzenia: <strong>{{ caseData[\x27damage_place\x27] }}</strong></div>
{% endif %}
</div>
<div class=\"bs5-col-12 bs5-form-group form__group--space-small\">
{% if mode == \x27create\x27 or fields[\x27damage_date\x27] is defined %}
<input type=\"text\" name=\"form[damage_date]\" value=\"{{ caseData[\x27damage_date\x27]|default(\x27\x27) }}\" class=\"bs5-form-control form__control form__control--medium-size form__control--border-dark{% if mode == \x27create\x27 %} form__control--border-required{% endif %} bs5-pe-5 js-date damage-date\" placeholder=\"Data zdarzenia - wybierz\" title=\"Data zdarzenia\" readonly=\"readonly\" data-current-date=\"{{ \x27now\x27|date(\x27Y-m-d\x27) }}\">
<span class=\"input-group-addon bs5-w-auto datepicker__icon\"><i class=\"glyphicon calendar\"></i></span>
{% else %}
<div class=\"data-ready\">Data zdarzenia: <span class=\"text-bold damage-date\" data-current-date=\"{{ \x27now\x27|date(\x27Y-m-d\x27) }}\">{{ caseData[\x27damage_date\x27]|default(\x27b.d.\x27) }}</span></div>
{% endif %}
</div>
<div class=\"bs5-col-12 bs5-form-group form__group--space-small\">
{% if mode == \x27create\x27 or fields[\x27extended_info\x27][\x27damage_notice_date\x27] is defined %}
<input type=\"text\" name=\"form[extended_info][damage_notice_date]\" value=\"{{ caseData[\x27extended_info\x27][\x27damage_notice_date\x27]|default(\x27\x27) }}\" class=\"bs5-form-control form__control form__control--medium-size form__control--border-dark{% if mode == \x27create\x27 %} form__control--border-required{% endif %} bs5-pe-5 js-date damage-notice-date\" placeholder=\"Data zauważenia szkody - wybierz\" title=\"Data zauważenia szkody\" readonly=\"readonly\">
<span class=\"input-group-addon bs5-w-auto datepicker__icon\"><i class=\"glyphicon calendar\"></i></span>
{% else %}
<div class=\"data-ready\">Data zauważenia szkody: <span class=\"text-bold damage-notice-date\">{{ caseData[\x27extended_info\x27][\x27damage_notice_date\x27]|default(\x27b.d.\x27) }}</span></div>
{% endif %}
</div>
<div class=\"bs5-col-12 bs5-form-group form__group--space-small\">
{% if mode == \x27create\x27 or fields[\x27damage_cause\x27] is defined %}
<select name=\"form[damage_cause]\" class=\"bs5-form-select form__select form__select--medium-size form__select--border-dark{% if mode == \x27create\x27 %} form__control--border-required{% endif %}\" title=\"Przyczyna powstania szkody\">
<option value=\"\">- przyczyna powstania szkody -</option>
{% if damageCauses is iterable and damageCauses|length > 0 %}
{% for damageCause in damageCauses %}
{% set viewVariant = null %}
{% for variantKey, damageCauseIds in viewVariants %}
{% if damageCause.id in damageCauseIds %}
{% set viewVariant = variantKey %}
{% endif %}
{% endfor %}
{% if damageCause.id is defined %}
<option value=\"{{ damageCause.id }}\"{% if caseData[\x27damage_cause\x27][\x27id\x27]|default(null) == damageCause.id %} selected=\"selected\"{% endif %}{% if viewVariant is not same as(null) %} data-view-variant=\"{{ viewVariant }}\"{% endif %}>{{ damageCause.name }}</option>
{% endif %}
{% endfor %}
{% endif %}
</select>
{% else %}
<div class=\"data-ready\">Przyczyna powstania szkody: <strong>{{ caseData[\x27damage_cause\x27][\x27name\x27]|default(\x27b.d.\x27) }}</strong></div>
{% endif %}
</div>
<div class=\"bs5-col-12 bs5-form-group form__group\">
{% if mode == \x27create\x27 or fields[\x27damage_description\x27] is defined %}
<textarea name=\"form[damage_description]\" class=\"bs5-form-control form__control form__control--medium-size form__control--border-dark{% if mode == \x27create\x27 %} form__control--border-required{% endif %}\" rows=\"5\" maxlength=\"1300\" placeholder=\"Opis uszkodzeń pojazdu (max 1300 znaków)\" title=\"Opis uszkodzeń pojazdu (max 1300 znaków)\">{{ caseData[\x27damage_description\x27]|default(\x27\x27) }}</textarea>
{% else %}
<div class=\"data-ready\">Opis uszkodzeń pojazdu: <strong>{{ caseData[\x27damage_description\x27]|nl2br }}</strong></div>
{% endif %}
</div>
<div class=\"bs5-col-12 bs5-form-group form__group\">
{% if mode == \x27create\x27 or fields[\x27incident_description\x27] is defined %}
<textarea name=\"form[incident_description]\" class=\"bs5-form-control form__control form__control--medium-size form__control--border-dark{% if mode == \x27create\x27 %} form__control--border-required{% endif %}\" rows=\"5\" maxlength=\"1300\" placeholder=\"Opis okoliczności zdarzenia (max 1300 znaków)\" title=\"Opis okoliczności zdarzenia (max 1300 znaków)\">{{ caseData[\x27incident_description\x27]|default(\x27\x27) }}</textarea>
{% else %}
<div class=\"data-ready\">Opis okoliczności zdarzenia: <strong>{{ caseData[\x27incident_description\x27]|nl2br }}</strong></div>
{% endif %}
</div>
<div class=\"bs5-col-12 bs5-form-group form__group bs5-mb-0\">
{% if mode == \x27create\x27 or fields[\x27extended_info\x27][\x27city_of_car_use\x27] is defined %}
<input type=\"text\" name=\"form[extended_info][city_of_car_use]\" class=\"bs5-form-control form__control form__control--medium-size form__control--border-dark\" placeholder=\"Aktualne miasto użytkowania pojazdu\">
{% else %}
<div class=\"data-ready\">Aktualne miasto użytkowania pojazdu: <strong>{{ caseData[\x27extended_info\x27][\x27city_of_car_use\x27]|default(\x27b.d.\x27) }}</strong></div>
{% endif %}
</div>
</div>
</div>
</div>
</div>
<div class=\"bs5-col-lg-12 notification-form__border--bottom notification-form__expanded\" data-view-variants-disabled=\"1,2,3\" style=\"display: none;\">
<div class=\"notification-form__item bs5-w-100\">
<div class=\"notification-form__space car-user-data\">
<div class=\"bs5-d-flex bs5-align-items bs5-mb-3\">
<i class=\"glyphicon user notification-form__icon\"></i>
<h6 class=\"notification-form__subtitle\">Dane kierującego</h6>
</div>
{% if mode == \x27create\x27 or fields[\x27driver\x27] is defined %}
<div class=\"bs5-col-12 bs5-col-md-6 form__group--space-small\">
<div class=\"bs5-form-check form__check bs5-ps-0\">
<input class=\"bs5-form-check-input form__chceck-input\" type=\"checkbox\" name=\"form[car_user_data_as_reporting_person]\" value=\"1\" id=\"car_user_data_as_reporting_person\">
<label class=\"bs5-form-check-label form__chceck-label\" for=\"car_user_data_as_reporting_person\">
takie same jak zgłaszającego
</label>
</div>
</div>
{% endif %}
<div class=\"bs5-col-12 bs5-form-group form__group--space-small\">
{% if mode == \x27create\x27 or fields[\x27driver\x27] is defined %}
<input type=\"text\" name=\"form[car_user_name]\" value=\"{{ caseData[\x27car_user_name\x27]|default(\x27\x27) }}\" class=\"bs5-form-control form__control form__control--medium-size form__control--border-dark\" placeholder=\"Imię\"/>
{% else %}
<div class=\"data-ready\">Imię: <strong>{{ caseData[\x27car_user_name\x27]|default(\x27b.d.\x27) }}</strong></div>
{% endif %}
</div>
<div class=\"bs5-col-12 bs5-form-group form__group--space-small\">
{% if mode == \x27create\x27 or fields[\x27driver\x27] is defined %}
<input type=\"text\" name=\"form[car_user_surname]\" value=\"{{ caseData[\x27car_user_surname\x27]|default(\x27\x27) }}\" class=\"bs5-form-control form__control form__control--medium-size form__control--border-dark\" placeholder=\"Nazwisko\"/>
{% else %}
<div class=\"data-ready\">Nazwisko: <strong>{{ caseData[\x27car_user_surname\x27]|default(\x27b.d.\x27) }}</strong></div>
{% endif %}
</div>
<div class=\"bs5-col-12 bs5-form-group form__group--space-small\">
{% if mode == \x27create\x27 or fields[\x27driver\x27] is defined %}
<div class=\"bs5-input-group\">
<div class=\"bs5-col-3\">
<select name=\"form[car_user_phone_prefix]\" class=\"bs5-form-control bs5-form-select form__select form__select--border-left form__select--medium-size form__select--border-dark\">
{{ macros.areaCodesDropdown(areaCodes, caseData[\x27car_user_phone_prefix\x27][\x27code\x27]|default(\x27\x27)) }}
</select>
</div>
<div class=\"bs5-col-9\">
<input type=\"text\" name=\"form[car_user_phone]\" value=\"{{ caseData[\x27car_user_phone\x27]|default(\x27\x27) }}\" class=\"bs5-form-control form__control--border-left form__control form__control--medium-size form__control--border-dark form__control--digits-only\" type=\"text\" placeholder=\"Numer telefonu\"/>
</div>
</div>
{% else %}
<div class=\"data-ready\">Numer telefonu: <strong>{{ (caseData[\x27car_user_phone\x27]|default(null) ? caseData[\x27car_user_phone_prefix\x27][\x27code\x27]|default(\x27\x27) : \x27\x27) ~ caseData[\x27car_user_phone\x27]|default(\x27b.d.\x27) }}</strong></div>
{% endif %}
</div>
<div class=\"bs5-col-12 bs5-form-group form__group--space-small\">
{% if mode == \x27create\x27 or fields[\x27driver\x27] is defined %}
<input type=\"text\" name=\"form[car_user_email]\" value=\"{{ caseData[\x27car_user_email\x27]|default(\x27\x27) }}\" class=\"bs5-form-control form__control form__control--medium-size form__control--border-dark\" placeholder=\"Adres e-mail\"/>
{% else %}
<div class=\"data-ready\">Email: <strong>{{ caseData[\x27car_user_email\x27]|default(\x27b.d.\x27) }}</strong></div>
{% endif %}
</div>
</div>
</div>
</div>
<div class=\"bs5-col-lg-12 notification-form__border--bottom notification-form__expanded\" data-view-variants-disabled=\"1,2,3\" style=\"display: none;\">
<div class=\"notification-form__item bs5-w-100\">
<div class=\"notification-form__space\">
<div class=\"bs5-d-flex bs5-align-items bs5-mb-4\">
<i class=\"glyphicon cars notification-form__icon\"></i>
<h6 class=\"notification-form__subtitle\">Dane zdarzenia - szczegóły</h6>
</div>
<div class=\"bs5-row bs5-mb-1 bs5-pb-2\">
<div class=\"bs5-col-12 bs5-form-group form__group--space-small\">
<fieldset class=\"bs5-row form__fieldset\">
<div class=\"bs5-col-12 bs5-col-lg-8\">
<legend class=\"bs5-col-form-label pt-0 form__legend\">Czy na miejscu interweniowała policja? <strong class=\"form__control--required\">*</strong></legend>
</div>
<div class=\"bs5-col-12 bs5-col-lg-4 bs5-d-flex bs5-align-items-center bs5-flex-wrap bs5-justify-content-lg-end form__group\">
{% if mode == \x27create\x27 or fields[\x27extended_info\x27][\x27police_intervention\x27] is defined %}
<div class=\"bs5-form-check form__check form__check--themes-white bs5-mb-0\">
<input class=\"form-check-input bs5-form-check-input\" type=\"radio\" name=\"form[extended_info][police_intervention]\" id=\"police_intervention_1\" value=\"1\"{% if caseData[\x27extended_info\x27][\x27police_intervention\x27] is defined and caseData[\x27extended_info\x27][\x27police_intervention\x27] is same as(true) %} checked=\"checked\"{% endif %}/>
<label class=\"bs5-form-check-label\" for=\"police_intervention_1\">TAK</label>
</div>
<div class=\"bs5-form-check form__check form__check--themes-white bs5-mb-0\">
<input class=\"form-check-input\" type=\"radio\" name=\"form[extended_info][police_intervention]\" id=\"police_intervention_0\" value=\"0\"{% if caseData[\x27extended_info\x27][\x27police_intervention\x27] is defined and caseData[\x27extended_info\x27][\x27police_intervention\x27] is same as(false) %} checked=\"checked\"{% endif %}/>
<label class=\"bs5-form-check-label\" for=\"police_intervention_0\">NIE</label>
</div>
{% else %}
<div class=\"data-ready\" data-police-intervention=\"{{ caseData[\x27extended_info\x27][\x27police_intervention\x27] is defined ? (caseData[\x27extended_info\x27][\x27police_intervention\x27] ? 1 : 0) : \x27\x27 }}\"><strong>{{ caseData[\x27extended_info\x27][\x27police_intervention\x27] is defined and caseData[\x27extended_info\x27][\x27police_intervention\x27] is not same as(null) ? (caseData[\x27extended_info\x27][\x27police_intervention\x27] ? \x27TAK\x27 : \x27NIE\x27) : \x27b.d.\x27 }}</strong></div>
{% endif %}
</div>
</fieldset>
</div>
</div>
<div class=\"bs5-row bs5-mb-1 bs5-pb-2 police-details\">
<div class=\"bs5-col-12 bs5-form-group form__group--space-small\">
{% if mode == \x27create\x27 or fields[\x27extended_info\x27][\x27police_unit_name\x27] is defined %}
<input type=\"text\" name=\"form[extended_info][police_unit_name]\" value=\"{{ caseData[\x27extended_info\x27][\x27police_unit_name\x27]|default(\x27\x27) }}\" class=\"bs5-form-control form__control form__control--medium-size form__control--border-dark\" placeholder=\"Nazwa jednostki policji\" title=\"Nazwa jednostki policji\">
{% else %}
<div class=\"data-ready\">Numer jednostki policyjnej: <strong>{{ caseData[\x27extended_info\x27][\x27police_unit_name\x27]|default(\x27b.d.\x27) }}</strong></div>
{% endif %}
</div>
<div class=\"bs5-col-12 bs5-form-group form__group--space-small\">
{% if mode == \x27create\x27 or fields[\x27extended_info\x27][\x27police_note_number\x27] is defined %}
<input type=\"text\" name=\"form[extended_info][police_note_number]\" value=\"{{ caseData[\x27extended_info\x27][\x27police_note_number\x27]|default(\x27\x27) }}\" class=\"bs5-form-control form__control form__control--medium-size form__control--border-dark\" placeholder=\"Numer notatki policyjnej* - jeśli występuje\" title=\"Numer notatki policyjnej* - jeśli występuje\">
{% else %}
<div class=\"data-ready\">Numer notatki policyjnej: <strong>{{ caseData[\x27extended_info\x27][\x27police_note_number\x27]|default(\x27b.d.\x27) }}</strong></div>
{% endif %}
</div>
<div class=\"bs5-col-12 bs5-form-group form__group--space-small\">
<fieldset class=\"bs5-row form__fieldset\">
<div class=\"bs5-col-12 bs5-col-lg-8\">
<legend class=\"bs5-col-form-label pt-0 form__legend\">Czy sprawca został ukarany?</legend>
</div>
<div class=\"bs5-col-12 bs5-col-lg-4 bs5-d-flex bs5-align-items-center bs5-flex-wrap bs5-justify-content-lg-end\">
{% if mode == \x27create\x27 or fields[\x27extended_info\x27][\x27perpetrator_punished\x27] is defined %}
<div class=\"bs5-form-check form__check form__check--themes-white bs5-mb-0\">
<input class=\"form-check-input\" type=\"radio\" name=\"form[extended_info][perpetrator_punished]\" id=\"perpetrator_punished_1\" value=\"1\"{% if caseData[\x27extended_info\x27][\x27perpetrator_punished\x27] is defined and caseData[\x27extended_info\x27][\x27perpetrator_punished\x27] is same as(true) %} checked=\"checked\"{% endif %}/>
<label class=\"bs5-form-check-label\" for=\"perpetrator_punished_1\">TAK</label>
</div>
<div class=\"bs5-form-check form__check form__check--themes-white bs5-mb-0\">
<input class=\"form-check-input\" type=\"radio\" name=\"form[extended_info][perpetrator_punished]\" id=\"perpetrator_punished_0\" value=\"0\"{% if caseData[\x27extended_info\x27][\x27perpetrator_punished\x27] is defined and caseData[\x27extended_info\x27][\x27perpetrator_punished\x27] is same as(false) %} checked=\"checked\"{% endif %}/>
<label class=\"bs5-form-check-label\" for=\"perpetrator_punished_0\">NIE</label>
</div>
{% else %}
<div class=\"data-ready\"><strong>{{ caseData[\x27extended_info\x27][\x27perpetrator_punished\x27] is defined and caseData[\x27extended_info\x27][\x27perpetrator_punished\x27] is not same as(null) ? (caseData[\x27extended_info\x27][\x27perpetrator_punished\x27] ? \x27TAK\x27 : \x27NIE\x27) : \x27b.d.\x27 }}</strong></div>
{% endif %}
</div>
</fieldset>
</div>
<div class=\"bs5-col-12 bs5-form-group form__group--space-small\">
<fieldset class=\"bs5-row form__fieldset\">
<div class=\"bs5-col-12 bs5-col-lg-8\">
<legend class=\"bs5-col-form-label pt-0 form__legend\">Czy sprawca przyjął mandat?</legend>
</div>
<div class=\"bs5-col-12 bs5-col-lg-4 bs5-d-flex bs5-align-items-center bs5-flex-wrap bs5-justify-content-lg-end\">
{% if mode == \x27create\x27 or fields[\x27extended_info\x27][\x27perpetrator_accept_mandate\x27] is defined %}
<div class=\"bs5-form-check form__check form__check--themes-white bs5-mb-0\">
<input class=\"form-check-input\" type=\"radio\" name=\"form[extended_info][perpetrator_accept_mandate]\" id=\"perpetrator_accept_mandate_1\" value=\"1\"{% if caseData[\x27extended_info\x27][\x27perpetrator_accept_mandate\x27] is defined and caseData[\x27extended_info\x27][\x27perpetrator_accept_mandate\x27] is same as(true) %} checked=\"checked\"{% endif %}/>
<label class=\"bs5-form-check-label\" for=\"perpetrator_accept_mandate_1\">TAK</label>
</div>
<div class=\"bs5-form-check form__check form__check--themes-white bs5-mb-0\">
<input class=\"form-check-input\" type=\"radio\" name=\"form[extended_info][perpetrator_accept_mandate]\" id=\"perpetrator_accept_mandate_0\" value=\"0\"{% if caseData[\x27extended_info\x27][\x27perpetrator_accept_mandate\x27] is defined and caseData[\x27extended_info\x27][\x27perpetrator_accept_mandate\x27] is same as(false) %} checked=\"checked\"{% endif %}/>
<label class=\"bs5-form-check-label\" for=\"perpetrator_accept_mandate_0\">NIE</label>
</div>
{% else %}
<div class=\"data-ready\"><strong>{{ caseData[\x27extended_info\x27][\x27perpetrator_accept_mandate\x27] is defined and caseData[\x27extended_info\x27][\x27perpetrator_accept_mandate\x27] is not same as(null) ? (caseData[\x27extended_info\x27][\x27perpetrator_accept_mandate\x27] ? \x27TAK\x27 : \x27NIE\x27) : \x27b.d.\x27 }}</strong></div>
{% endif %}
</div>
</fieldset>
</div>
<div class=\"bs5-col-12 bs5-form-group form__group--space-small\">
<fieldset class=\"bs5-row form__fieldset\">
<div class=\"bs5-col-12 bs5-col-lg-8\">
<legend class=\"bs5-col-form-label pt-0 form__legend\">Czy została wykazana współwina?</legend>
</div>
<div class=\"bs5-col-12 bs5-col-lg-4 bs5-d-flex bs5-align-items-center bs5-flex-wrap bs5-justify-content-lg-end\">
{% if mode == \x27create\x27 or fields[\x27extended_info\x27][\x27complicity\x27] is defined %}
<div class=\"bs5-form-check form__check form__check--themes-white bs5-mb-0\">
<input class=\"form-check-input\" type=\"radio\" name=\"form[extended_info][complicity]\" id=\"complicity_1\" value=\"1\"{% if caseData[\x27extended_info\x27][\x27complicity\x27] is defined and caseData[\x27extended_info\x27][\x27complicity\x27] is same as(true) %} checked=\"checked\"{% endif %}/>
<label class=\"bs5-form-check-label\" for=\"complicity_1\">TAK</label>
</div>
<div class=\"bs5-form-check form__check form__check--themes-white bs5-mb-0\">
<input class=\"form-check-input\" type=\"radio\" name=\"form[extended_info][complicity]\" id=\"complicity_0\" value=\"0\"{% if caseData[\x27extended_info\x27][\x27complicity\x27] is defined and caseData[\x27extended_info\x27][\x27complicity\x27] is same as(false) %} checked=\"checked\"{% endif %}/>
<label class=\"bs5-form-check-label\" for=\"complicity_0\">NIE</label>
</div>
{% else %}
<div class=\"data-ready\"><strong>{{ caseData[\x27extended_info\x27][\x27complicity\x27] is defined and caseData[\x27extended_info\x27][\x27complicity\x27] is not same as(null) ? (caseData[\x27extended_info\x27][\x27complicity\x27] ? \x27TAK\x27 : \x27NIE\x27) : \x27b.d.\x27 }}</strong></div>
{% endif %}
</div>
</fieldset>
</div>
</div>
<div class=\"bs5-row no-police\">
<div class=\"bs5-col-12 bs5-form-group form__group--space-small\">
<fieldset class=\"bs5-row form__fieldset\">
<div class=\"bs5-col-12 bs5-col-lg-8\">
<legend class=\"bs5-col-form-label pt-0 form__legend\">Czy spisano oświadczenie sprawcy? <strong class=\"form__control--required\">*</strong></legend>
</div>
<div class=\"bs5-col-12 bs5-col-lg-4 bs5-d-flex bs5-align-items-center bs5-flex-wrap bs5-justify-content-lg-end form__group\">
{% if mode == \x27create\x27 or fields[\x27extended_info\x27][\x27perpetrator_statement\x27] is defined %}
<div class=\"bs5-form-check form__check form__check--themes-white bs5-mb-0\">
<input class=\"form-check-input bs5-form-check-input\" type=\"radio\" name=\"form[extended_info][perpetrator_statement]\" id=\"perpetrator_statement_1\" value=\"1\"{% if caseData[\x27extended_info\x27][\x27perpetrator_statement\x27] is defined and caseData[\x27extended_info\x27][\x27perpetrator_statement\x27] is same as(true) %} checked=\"checked\"{% endif %}/>
<label class=\"bs5-form-check-label\" for=\"perpetrator_statement_1\">TAK</label>
</div>
<div class=\"bs5-form-check form__check form__check--themes-white bs5-mb-0\">
<input class=\"form-check-input\" type=\"radio\" name=\"form[extended_info][perpetrator_statement]\" id=\"perpetrator_statement_0\" value=\"0\"{% if caseData[\x27extended_info\x27][\x27perpetrator_statement\x27] is defined and caseData[\x27extended_info\x27][\x27perpetrator_statement\x27] is same as(false) %} checked=\"checked\"{% endif %}/>
<label class=\"bs5-form-check-label\" for=\"perpetrator_statement_0\">NIE</label>
</div>
{% else %}
<div class=\"data-ready\"><strong>{{ caseData[\x27extended_info\x27][\x27perpetrator_statement\x27] is defined and caseData[\x27extended_info\x27][\x27perpetrator_statement\x27] is not same as(null) ? (caseData[\x27extended_info\x27][\x27perpetrator_statement\x27] ? \x27TAK\x27 : \x27NIE\x27) : \x27b.d.\x27 }}</strong></div>
{% endif %}
</div>
</fieldset>
</div>
</div>
</div>
</div>
</div>", "step1.html.twig", "/www/inglease.serviceflow.pl/templates/step1.html.twig");
}
}