source = $this->getSourceContext(); $this->blocks = [ 'toolbar' => [$this, 'block_toolbar'], 'menu' => [$this, 'block_menu'], 'head' => [$this, 'block_head'], 'panel' => [$this, 'block_panel'], ]; } protected function doGetParent(array $context) { // line 1 return "@WebProfiler/Profiler/layout.html.twig"; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@WebProfiler/Collector/form.html.twig")); // line 3 $macros["__internal_1c6cd038ca876145e11a52923acbb4df1ad32b7d88ea30c07fffd19470e2e44e"] = $this->macros["__internal_1c6cd038ca876145e11a52923acbb4df1ad32b7d88ea30c07fffd19470e2e44e"] = $this; // line 1 $this->parent = $this->loadTemplate("@WebProfiler/Profiler/layout.html.twig", "@WebProfiler/Collector/form.html.twig", 1); $this->parent->display($context, array_merge($this->blocks, $blocks)); $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); } // line 5 public function block_toolbar($context, array $blocks = []) { $macros = $this->macros; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "toolbar")); // line 6 echo " "; if (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 6, $this->source); })()), "data", [], "any", false, false, false, 6), "nb_errors", [], "any", false, false, false, 6) > 0) || twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 6, $this->source); })()), "data", [], "any", false, false, false, 6), "forms", [], "any", false, false, false, 6)))) { // line 7 echo " "; $context["status_color"] = ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 7, $this->source); })()), "data", [], "any", false, false, false, 7), "nb_errors", [], "any", false, false, false, 7)) ? ("red") : ("")); // line 8 echo " "; ob_start(); // line 9 echo " "; echo twig_include($this->env, $context, "@WebProfiler/Icon/form.svg"); echo " "; // line 11 echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 11, $this->source); })()), "data", [], "any", false, false, false, 11), "nb_errors", [], "any", false, false, false, 11)) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 11, $this->source); })()), "data", [], "any", false, false, false, 11), "nb_errors", [], "any", false, false, false, 11)) : (twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 11, $this->source); })()), "data", [], "any", false, false, false, 11), "forms", [], "any", false, false, false, 11)))), "html", null, true); echo " "; $context["icon"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 14 echo " "; // line 15 ob_start(); // line 16 echo "
Number of forms "; // line 18 echo twig_escape_filter($this->env, twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 18, $this->source); })()), "data", [], "any", false, false, false, 18), "forms", [], "any", false, false, false, 18)), "html", null, true); echo "
Number of errors env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 22, $this->source); })()), "data", [], "any", false, false, false, 22), "nb_errors", [], "any", false, false, false, 22) > 0)) ? ("red") : ("")); echo "\">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 22, $this->source); })()), "data", [], "any", false, false, false, 22), "nb_errors", [], "any", false, false, false, 22), "html", null, true); echo "
"; $context["text"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 25 echo " "; // line 26 echo twig_include($this->env, $context, "@WebProfiler/Profiler/toolbar_item.html.twig", ["link" => (isset($context["profiler_url"]) || array_key_exists("profiler_url", $context) ? $context["profiler_url"] : (function () { throw new RuntimeError('Variable "profiler_url" does not exist.', 26, $this->source); })()), "status" => (isset($context["status_color"]) || array_key_exists("status_color", $context) ? $context["status_color"] : (function () { throw new RuntimeError('Variable "status_color" does not exist.', 26, $this->source); })())]); echo " "; } $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); } // line 30 public function block_menu($context, array $blocks = []) { $macros = $this->macros; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu")); // line 31 echo " env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 31, $this->source); })()), "data", [], "any", false, false, false, 31), "nb_errors", [], "any", false, false, false, 31)) ? ("error") : ("")); echo " "; echo ((twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 31, $this->source); })()), "data", [], "any", false, false, false, 31), "forms", [], "any", false, false, false, 31))) ? ("disabled") : ("")); echo "\"> "; // line 32 echo twig_include($this->env, $context, "@WebProfiler/Icon/form.svg"); echo " Forms "; // line 34 if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 34, $this->source); })()), "data", [], "any", false, false, false, 34), "nb_errors", [], "any", false, false, false, 34) > 0)) { // line 35 echo " "; // line 36 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 36, $this->source); })()), "data", [], "any", false, false, false, 36), "nb_errors", [], "any", false, false, false, 36), "html", null, true); echo " "; } // line 39 echo " "; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); } // line 42 public function block_head($context, array $blocks = []) { $macros = $this->macros; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head")); // line 43 echo " "; $this->displayParentBlock("head", $context, $blocks); echo " "; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); } // line 184 public function block_panel($context, array $blocks = []) { $macros = $this->macros; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "panel")); // line 185 echo "

Forms

"; // line 187 if (twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 187, $this->source); })()), "data", [], "any", false, false, false, 187), "forms", [], "any", false, false, false, 187))) { // line 188 echo "
"; // line 197 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 197, $this->source); })()), "data", [], "any", false, false, false, 197), "forms", [], "any", false, false, false, 197)); foreach ($context['_seq'] as $context["formName"] => $context["formData"]) { // line 198 echo " "; echo twig_call_macro($macros["__internal_1c6cd038ca876145e11a52923acbb4df1ad32b7d88ea30c07fffd19470e2e44e"], "macro_form_tree_details", [$context["formName"], $context["formData"], twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 198, $this->source); })()), "data", [], "any", false, false, false, 198), "forms_by_hash", [], "any", false, false, false, 198)], 198, $context, $this->getSourceContext()); echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['formName'], $context['formData'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 200 echo "
"; } else { // line 202 echo "

No forms were submitted for this request.

"; } // line 206 echo " "; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); } // line 426 public function macro_form_tree_entry($__name__ = null, $__data__ = null, $__expanded__ = null, ...$__varargs__) { $macros = $this->macros; $context = $this->env->mergeGlobals([ "name" => $__name__, "data" => $__data__, "expanded" => $__expanded__, "varargs" => $__varargs__, ]); $blocks = []; ob_start(); try { $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "form_tree_entry")); // line 427 echo " "; $macros["tree"] = $this; // line 428 echo "
  • env, twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 429, $this->source); })()), "id", [], "any", false, false, false, 429), "html", null, true); echo "-details\"> "; // line 430 if ((twig_get_attribute($this->env, $this->source, ($context["data"] ?? null), "errors", [], "any", true, true, false, 430) && (twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 430, $this->source); })()), "errors", [], "any", false, false, false, 430)) > 0))) { // line 431 echo "
    "; echo twig_escape_filter($this->env, twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 431, $this->source); })()), "errors", [], "any", false, false, false, 431)), "html", null, true); echo "
    "; } // line 433 echo " "; // line 434 if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 434, $this->source); })()), "children", [], "any", false, false, false, 434))) { // line 435 echo " env, twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 435, $this->source); })()), "id", [], "any", false, false, false, 435), "html", null, true); echo "-children\" href=\"#\"> "; } else { // line 437 echo "
    "; } // line 439 echo " "; // line 440 echo twig_escape_filter($this->env, (((isset($context["name"]) || array_key_exists("name", $context))) ? (_twig_default_filter((isset($context["name"]) || array_key_exists("name", $context) ? $context["name"] : (function () { throw new RuntimeError('Variable "name" does not exist.', 440, $this->source); })()), "(no name)")) : ("(no name)")), "html", null, true); echo " "; if (twig_get_attribute($this->env, $this->source, ($context["data"] ?? null), "type_class", [], "any", true, true, false, 440)) { echo "[env, twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 440, $this->source); })()), "type_class", [], "any", false, false, false, 440), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, twig_last($this->env, twig_split_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 440, $this->source); })()), "type_class", [], "any", false, false, false, 440), "\\")), "html", null, true); echo "]"; } // line 441 echo "
    "; // line 443 if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 443, $this->source); })()), "children", [], "any", false, false, false, 443))) { // line 444 echo " "; } // line 450 echo "
  • "; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); return ('' === $tmp = ob_get_contents()) ? '' : new Markup($tmp, $this->env->getCharset()); } finally { ob_end_clean(); } } // line 453 public function macro_form_tree_details($__name__ = null, $__data__ = null, $__forms_by_hash__ = null, ...$__varargs__) { $macros = $this->macros; $context = $this->env->mergeGlobals([ "name" => $__name__, "data" => $__data__, "forms_by_hash" => $__forms_by_hash__, "varargs" => $__varargs__, ]); $blocks = []; ob_start(); try { $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "form_tree_details")); // line 454 echo " "; $macros["tree"] = $this; // line 455 echo "
    env, $this->source, ($context["data"] ?? null), "id", [], "any", true, true, false, 455)) { echo "id=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 455, $this->source); })()), "id", [], "any", false, false, false, 455), "html", null, true); echo "-details\""; } echo ">

    "; // line 457 echo twig_escape_filter($this->env, (((isset($context["name"]) || array_key_exists("name", $context))) ? (_twig_default_filter((isset($context["name"]) || array_key_exists("name", $context) ? $context["name"] : (function () { throw new RuntimeError('Variable "name" does not exist.', 457, $this->source); })()), "(no name)")) : ("(no name)")), "html", null, true); echo " "; // line 458 if ((twig_get_attribute($this->env, $this->source, ($context["data"] ?? null), "type_class", [], "any", true, true, false, 458) && twig_get_attribute($this->env, $this->source, ($context["data"] ?? null), "type", [], "any", true, true, false, 458))) { // line 459 echo " [env, twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 459, $this->source); })()), "type_class", [], "any", false, false, false, 459), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 459, $this->source); })()), "type", [], "any", false, false, false, 459), "html", null, true); echo "] "; } // line 461 echo "

    "; // line 463 if ((twig_get_attribute($this->env, $this->source, ($context["data"] ?? null), "errors", [], "any", true, true, false, 463) && (twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 463, $this->source); })()), "errors", [], "any", false, false, false, 463)) > 0))) { // line 464 echo "

    env, twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 466, $this->source); })()), "id", [], "any", false, false, false, 466), "html", null, true); echo "-errors\" href=\"#\"> Errors

    env, twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 471, $this->source); })()), "id", [], "any", false, false, false, 471), "html", null, true); echo "-errors\"> "; // line 480 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 480, $this->source); })()), "errors", [], "any", false, false, false, 480)); foreach ($context['_seq'] as $context["_key"] => $context["error"]) { // line 481 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 519 echo "
    Message Origin Cause
    "; // line 482 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["error"], "message", [], "any", false, false, false, 482), "html", null, true); echo " "; // line 484 if (twig_test_empty(twig_get_attribute($this->env, $this->source, $context["error"], "origin", [], "any", false, false, false, 484))) { // line 485 echo " This form. "; } elseif ( !twig_get_attribute($this->env, $this->source, // line 486 ($context["forms_by_hash"] ?? null), twig_get_attribute($this->env, $this->source, $context["error"], "origin", [], "any", false, false, false, 486), [], "array", true, true, false, 486)) { // line 487 echo " Unknown. "; } else { // line 489 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["forms_by_hash"]) || array_key_exists("forms_by_hash", $context) ? $context["forms_by_hash"] : (function () { throw new RuntimeError('Variable "forms_by_hash" does not exist.', 489, $this->source); })()), twig_get_attribute($this->env, $this->source, $context["error"], "origin", [], "any", false, false, false, 489), [], "array", false, false, false, 489), "name", [], "any", false, false, false, 489), "html", null, true); echo " "; } // line 491 echo " "; // line 493 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["error"], "trace", [], "any", false, false, false, 493)); $context['_iterated'] = false; $context['loop'] = [ 'parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true, ]; if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) { $length = count($context['_seq']); $context['loop']['revindex0'] = $length - 1; $context['loop']['revindex'] = $length; $context['loop']['length'] = $length; $context['loop']['last'] = 1 === $length; } foreach ($context['_seq'] as $context["_key"] => $context["trace"]) { // line 494 echo " "; if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 494)) { // line 495 echo " Caused by: "; } // line 497 echo " "; // line 498 if (twig_get_attribute($this->env, $this->source, $context["trace"], "root", [], "any", true, true, false, 498)) { // line 499 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["trace"], "class", [], "any", false, false, false, 499), "html", null, true); echo "
    ";
                                // line 501
                                echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["trace"], "root", [], "any", false, false, false, 501), "html", null, true);
                                // line 502
                                if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["trace"], "path", [], "any", false, false, false, 502))) {
                                    // line 503
                                    if ((twig_first($this->env, twig_get_attribute($this->env, $this->source, $context["trace"], "path", [], "any", false, false, false, 503)) != "[")) {
                                        echo ".";
                                    }
                                    // line 504
                                    echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["trace"], "path", [], "any", false, false, false, 504), "html", null, true);
                                }
                                // line 505
                                echo " = ";
                                echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["trace"], "value", [], "any", false, false, false, 505), "html", null, true);
                                // line 506
                                echo "
    "; } elseif (twig_get_attribute($this->env, $this->source, // line 507 $context["trace"], "message", [], "any", true, true, false, 507)) { // line 508 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["trace"], "class", [], "any", false, false, false, 508), "html", null, true); echo "
    ";
                                // line 509
                                echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["trace"], "message", [], "any", false, false, false, 509), "html", null, true);
                                echo "
    "; } else { // line 511 echo "
    ";
                                echo twig_escape_filter($this->env, $context["trace"], "html", null, true);
                                echo "
    "; } // line 513 echo " "; $context['_iterated'] = true; ++$context['loop']['index0']; ++$context['loop']['index']; $context['loop']['first'] = false; if (isset($context['loop']['length'])) { --$context['loop']['revindex0']; --$context['loop']['revindex']; $context['loop']['last'] = 0 === $context['loop']['revindex0']; } } if (!$context['_iterated']) { // line 514 echo " Unknown. "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['trace'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 516 echo "
    "; } // line 523 echo " "; // line 524 if (twig_get_attribute($this->env, $this->source, ($context["data"] ?? null), "default_data", [], "any", true, true, false, 524)) { // line 525 echo "

    env, twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 526, $this->source); })()), "id", [], "any", false, false, false, 526), "html", null, true); echo "-default_data\" href=\"#\"> Default Data

    env, twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 531, $this->source); })()), "id", [], "any", false, false, false, 531), "html", null, true); echo "-default_data\">
    Property Value
    Model Format "; // line 543 if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["data"] ?? null), "default_data", [], "any", false, true, false, 543), "model", [], "any", true, true, false, 543)) { // line 544 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 544, $this->source); })()), "default_data", [], "any", false, false, false, 544), "model", [], "any", false, false, false, 544), "html", null, true); echo " "; } else { // line 546 echo " same as normalized format "; } // line 548 echo "
    Normalized Format "; // line 552 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 552, $this->source); })()), "default_data", [], "any", false, false, false, 552), "norm", [], "any", false, false, false, 552), "html", null, true); echo "
    View Format "; // line 557 if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["data"] ?? null), "default_data", [], "any", false, true, false, 557), "view", [], "any", true, true, false, 557)) { // line 558 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 558, $this->source); })()), "default_data", [], "any", false, false, false, 558), "view", [], "any", false, false, false, 558), "html", null, true); echo " "; } else { // line 560 echo " same as normalized format "; } // line 562 echo "
    "; } // line 568 echo " "; // line 569 if (twig_get_attribute($this->env, $this->source, ($context["data"] ?? null), "submitted_data", [], "any", true, true, false, 569)) { // line 570 echo "

    env, twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 571, $this->source); })()), "id", [], "any", false, false, false, 571), "html", null, true); echo "-submitted_data\" href=\"#\"> Submitted Data

    env, twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 576, $this->source); })()), "id", [], "any", false, false, false, 576), "html", null, true); echo "-submitted_data\"> "; // line 577 if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["data"] ?? null), "submitted_data", [], "any", false, true, false, 577), "norm", [], "any", true, true, false, 577)) { // line 578 echo "
    Property Value
    View Format "; // line 589 if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["data"] ?? null), "submitted_data", [], "any", false, true, false, 589), "view", [], "any", true, true, false, 589)) { // line 590 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 590, $this->source); })()), "submitted_data", [], "any", false, false, false, 590), "view", [], "any", false, false, false, 590), "html", null, true); echo " "; } else { // line 592 echo " same as normalized format "; } // line 594 echo "
    Normalized Format "; // line 598 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 598, $this->source); })()), "submitted_data", [], "any", false, false, false, 598), "norm", [], "any", false, false, false, 598), "html", null, true); echo "
    Model Format "; // line 603 if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["data"] ?? null), "submitted_data", [], "any", false, true, false, 603), "model", [], "any", true, true, false, 603)) { // line 604 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 604, $this->source); })()), "submitted_data", [], "any", false, false, false, 604), "model", [], "any", false, false, false, 604), "html", null, true); echo " "; } else { // line 606 echo " same as normalized format "; } // line 608 echo "
    "; } else { // line 613 echo "

    This form was not submitted.

    "; } // line 617 echo "
    "; } // line 619 echo " "; // line 620 if (twig_get_attribute($this->env, $this->source, ($context["data"] ?? null), "passed_options", [], "any", true, true, false, 620)) { // line 621 echo "

    env, twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 622, $this->source); })()), "id", [], "any", false, false, false, 622), "html", null, true); echo "-passed_options\" href=\"#\"> Passed Options

    env, twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 627, $this->source); })()), "id", [], "any", false, false, false, 627), "html", null, true); echo "-passed_options\"> "; // line 628 if (twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 628, $this->source); })()), "passed_options", [], "any", false, false, false, 628))) { // line 629 echo " "; // line 638 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 638, $this->source); })()), "passed_options", [], "any", false, false, false, 638)); foreach ($context['_seq'] as $context["option"] => $context["value"]) { // line 639 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['option'], $context['value'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 651 echo "
    Option Passed Value Resolved Value
    "; // line 640 echo twig_escape_filter($this->env, $context["option"], "html", null, true); echo " "; // line 641 echo twig_escape_filter($this->env, $context["value"], "html", null, true); echo " "; // line 643 if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 643, $this->source); })()), "resolved_options", [], "any", false, false, false, 643), $context["option"], [], "array", false, false, false, 643) === $context["value"])) { // line 644 echo " same as passed value "; } else { // line 646 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 646, $this->source); })()), "resolved_options", [], "any", false, false, false, 646), $context["option"], [], "array", false, false, false, 646), "html", null, true); echo " "; } // line 648 echo "
    "; } else { // line 654 echo "

    No options where passed when constructing this form.

    "; } // line 658 echo "
    "; } // line 660 echo " "; // line 661 if (twig_get_attribute($this->env, $this->source, ($context["data"] ?? null), "resolved_options", [], "any", true, true, false, 661)) { // line 662 echo "

    env, twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 663, $this->source); })()), "id", [], "any", false, false, false, 663), "html", null, true); echo "-resolved_options\" href=\"#\"> Resolved Options

    env, twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 668, $this->source); })()), "id", [], "any", false, false, false, 668), "html", null, true); echo "-resolved_options\" class=\"hidden\"> "; // line 677 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 677, $this->source); })()), "resolved_options", [], "any", false, false, false, 677)); foreach ($context['_seq'] as $context["option"] => $context["value"]) { // line 678 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['option'], $context['value'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 683 echo "
    Option Value
    "; // line 679 echo twig_escape_filter($this->env, $context["option"], "html", null, true); echo " "; // line 680 echo twig_escape_filter($this->env, $context["value"], "html", null, true); echo "
    "; } // line 687 echo " "; // line 688 if (twig_get_attribute($this->env, $this->source, ($context["data"] ?? null), "view_vars", [], "any", true, true, false, 688)) { // line 689 echo "

    env, twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 690, $this->source); })()), "id", [], "any", false, false, false, 690), "html", null, true); echo "-view_vars\" href=\"#\"> View Variables

    env, twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 695, $this->source); })()), "id", [], "any", false, false, false, 695), "html", null, true); echo "-view_vars\" class=\"hidden\"> "; // line 704 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 704, $this->source); })()), "view_vars", [], "any", false, false, false, 704)); foreach ($context['_seq'] as $context["variable"] => $context["value"]) { // line 705 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['variable'], $context['value'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 710 echo "
    Variable Value
    "; // line 706 echo twig_escape_filter($this->env, $context["variable"], "html", null, true); echo " "; // line 707 echo twig_escape_filter($this->env, $context["value"], "html", null, true); echo "
    "; } // line 714 echo "
    "; // line 716 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 716, $this->source); })()), "children", [], "any", false, false, false, 716)); foreach ($context['_seq'] as $context["childName"] => $context["childData"]) { // line 717 echo " "; echo twig_call_macro($macros["tree"], "macro_form_tree_details", [$context["childName"], $context["childData"], (isset($context["forms_by_hash"]) || array_key_exists("forms_by_hash", $context) ? $context["forms_by_hash"] : (function () { throw new RuntimeError('Variable "forms_by_hash" does not exist.', 717, $this->source); })())], 717, $context, $this->getSourceContext()); echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['childName'], $context['childData'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); return ('' === $tmp = ob_get_contents()) ? '' : new Markup($tmp, $this->env->getCharset()); } finally { ob_end_clean(); } } public function getTemplateName() { return "@WebProfiler/Collector/form.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 1288 => 717, 1284 => 716, 1280 => 714, 1274 => 710, 1265 => 707, 1261 => 706, 1258 => 705, 1254 => 704, 1242 => 695, 1234 => 690, 1231 => 689, 1229 => 688, 1226 => 687, 1220 => 683, 1211 => 680, 1207 => 679, 1204 => 678, 1200 => 677, 1188 => 668, 1180 => 663, 1177 => 662, 1175 => 661, 1172 => 660, 1168 => 658, 1162 => 654, 1157 => 651, 1149 => 648, 1143 => 646, 1139 => 644, 1137 => 643, 1132 => 641, 1128 => 640, 1125 => 639, 1121 => 638, 1110 => 629, 1108 => 628, 1104 => 627, 1096 => 622, 1093 => 621, 1091 => 620, 1088 => 619, 1084 => 617, 1078 => 613, 1071 => 608, 1067 => 606, 1061 => 604, 1059 => 603, 1051 => 598, 1045 => 594, 1041 => 592, 1035 => 590, 1033 => 589, 1020 => 578, 1018 => 577, 1014 => 576, 1006 => 571, 1003 => 570, 1001 => 569, 998 => 568, 990 => 562, 986 => 560, 980 => 558, 978 => 557, 970 => 552, 964 => 548, 960 => 546, 954 => 544, 952 => 543, 937 => 531, 929 => 526, 926 => 525, 924 => 524, 921 => 523, 915 => 519, 907 => 516, 900 => 514, 887 => 513, 881 => 511, 876 => 509, 871 => 508, 869 => 507, 866 => 506, 863 => 505, 860 => 504, 856 => 503, 854 => 502, 852 => 501, 847 => 499, 845 => 498, 842 => 497, 838 => 495, 835 => 494, 817 => 493, 813 => 491, 807 => 489, 803 => 487, 801 => 486, 798 => 485, 796 => 484, 791 => 482, 788 => 481, 784 => 480, 772 => 471, 764 => 466, 760 => 464, 758 => 463, 754 => 461, 746 => 459, 744 => 458, 740 => 457, 730 => 455, 727 => 454, 709 => 453, 696 => 450, 692 => 448, 683 => 446, 679 => 445, 670 => 444, 668 => 443, 664 => 441, 654 => 440, 651 => 439, 647 => 437, 641 => 435, 639 => 434, 636 => 433, 630 => 431, 628 => 430, 624 => 429, 621 => 428, 618 => 427, 600 => 426, 375 => 206, 369 => 202, 365 => 200, 356 => 198, 352 => 197, 346 => 193, 337 => 191, 333 => 190, 329 => 188, 327 => 187, 323 => 185, 316 => 184, 168 => 43, 161 => 42, 153 => 39, 147 => 36, 144 => 35, 142 => 34, 137 => 32, 130 => 31, 123 => 30, 113 => 26, 110 => 25, 102 => 22, 95 => 18, 91 => 16, 89 => 15, 86 => 14, 80 => 11, 74 => 9, 71 => 8, 68 => 7, 65 => 6, 58 => 5, 50 => 1, 48 => 3, 38 => 1,); } public function getSourceContext() { return new Source("{% extends '@WebProfiler/Profiler/layout.html.twig' %} {% from _self import form_tree_entry, form_tree_details %} {% block toolbar %} {% if collector.data.nb_errors > 0 or collector.data.forms|length %} {% set status_color = collector.data.nb_errors ? 'red' : '' %} {% set icon %} {{ include('@WebProfiler/Icon/form.svg') }} {{ collector.data.nb_errors ?: collector.data.forms|length }} {% endset %} {% set text %}
    Number of forms {{ collector.data.forms|length }}
    Number of errors 0 ? 'red' }}\">{{ collector.data.nb_errors }}
    {% endset %} {{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: profiler_url, status: status_color }) }} {% endif %} {% endblock %} {% block menu %} {{ include('@WebProfiler/Icon/form.svg') }} Forms {% if collector.data.nb_errors > 0 %} {{ collector.data.nb_errors }} {% endif %} {% endblock %} {% block head %} {{ parent() }} {% endblock %} {% block panel %}

    Forms

    {% if collector.data.forms|length %}
    {% for formName, formData in collector.data.forms %} {{ form_tree_details(formName, formData, collector.data.forms_by_hash) }} {% endfor %}
    {% else %}

    No forms were submitted for this request.

    {% endif %} {% endblock %} {% macro form_tree_entry(name, data, expanded) %} {% import _self as tree %}
  • {% if data.errors is defined and data.errors|length > 0 %}
    {{ data.errors|length }}
    {% endif %} {% if data.children is not empty %} {% else %}
    {% endif %} {{ name|default('(no name)') }} {% if data.type_class is defined %}[{{ data.type_class|split('\\\\')|last }}]{% endif %}
    {% if data.children is not empty %} {% endif %}
  • {% endmacro %} {% macro form_tree_details(name, data, forms_by_hash) %} {% import _self as tree %}

    {{ name|default('(no name)') }} {% if data.type_class is defined and data.type is defined %} [{{ data.type }}] {% endif %}

    {% if data.errors is defined and data.errors|length > 0 %}

    Errors

    {% for error in data.errors %} {% endfor %}
    Message Origin Cause
    {{ error.message }} {% if error.origin is empty %} This form. {% elseif forms_by_hash[error.origin] is not defined %} Unknown. {% else %} {{ forms_by_hash[error.origin].name }} {% endif %} {% for trace in error.trace %} {% if not loop.first %} Caused by: {% endif %} {% if trace.root is defined %} {{ trace.class }}
                                        {{- trace.root -}}
                                        {%- if trace.path is not empty -%}
                                            {%- if trace.path|first != '[' %}.{% endif -%}
                                            {{- trace.path -}}
                                        {%- endif %} = {{ trace.value -}}
                                    
    {% elseif trace.message is defined %} {{ trace.class }}
    {{ trace.message }}
    {% else %}
    {{ trace }}
    {% endif %} {% else %} Unknown. {% endfor %}
    {% endif %} {% if data.default_data is defined %}

    Default Data

    Property Value
    Model Format {% if data.default_data.model is defined %} {{ data.default_data.model }} {% else %} same as normalized format {% endif %}
    Normalized Format {{ data.default_data.norm }}
    View Format {% if data.default_data.view is defined %} {{ data.default_data.view }} {% else %} same as normalized format {% endif %}
    {% endif %} {% if data.submitted_data is defined %}

    Submitted Data

    {% if data.submitted_data.norm is defined %}
    Property Value
    View Format {% if data.submitted_data.view is defined %} {{ data.submitted_data.view }} {% else %} same as normalized format {% endif %}
    Normalized Format {{ data.submitted_data.norm }}
    Model Format {% if data.submitted_data.model is defined %} {{ data.submitted_data.model }} {% else %} same as normalized format {% endif %}
    {% else %}

    This form was not submitted.

    {% endif %}
    {% endif %} {% if data.passed_options is defined %}

    Passed Options

    {% if data.passed_options|length %} {% for option, value in data.passed_options %} {% endfor %}
    Option Passed Value Resolved Value
    {{ option }} {{ value }} {% if data.resolved_options[option] is same as(value) %} same as passed value {% else %} {{ data.resolved_options[option] }} {% endif %}
    {% else %}

    No options where passed when constructing this form.

    {% endif %}
    {% endif %} {% if data.resolved_options is defined %}

    Resolved Options

    {% for option, value in data.resolved_options %} {% endfor %}
    Option Value
    {{ option }} {{ value }}
    {% endif %} {% if data.view_vars is defined %}

    View Variables

    {% for variable, value in data.view_vars %} {% endfor %}
    Variable Value
    {{ variable }} {{ value }}
    {% endif %}
    {% for childName, childData in data.children %} {{ tree.form_tree_details(childName, childData, forms_by_hash) }} {% endfor %} {% endmacro %} ", "@WebProfiler/Collector/form.html.twig", "/Users/kadmin/Websites/sterntours-3/vendor/symfony/symfony/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/form.html.twig"); } }