{% extends '@WebProfiler/Profiler/layout.html.twig' %} {% block toolbar %} {% if collector.data.nb_errors > 0 or collector.data.forms|length %} {% set status_color = collector.data.nb_errors ? 'red' %} {% set icon %} {{ source('@WebProfiler/Icon/form.svg') }}
{% endset %} {% set text %} {% endset %} {{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: profiler_url, status: status_color }) }} {% endif %} {% endblock %} {% block menu %} {{ source('@WebProfiler/Icon/form.svg') }} Forms {% if collector.data.nb_errors > 0 %} {{ collector.data.nb_errors }} {% endif %} {% endblock %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block javascripts %} {{ parent() }} {% endblock %} {% block panel %}No forms were submitted.
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 %} | {% if error.trace %} Caused by: {% for stacked in error.trace %} {{ profiler_dump(stacked) }} {% endfor %} {% else %} Unknown. {% endif %} |
This form has no errors.
Property | Value |
---|---|
Model Format | {% if data.default_data.model is defined %} {{ profiler_dump(data.default_data.seek('model')) }} {% else %} same as normalized format {% endif %} |
Normalized Format | {{ profiler_dump(data.default_data.seek('norm')) }} |
View Format | {% if data.default_data.view is defined %} {{ profiler_dump(data.default_data.seek('view')) }} {% else %} same as normalized format {% endif %} |
This form has default data defined.
Property | Value |
---|---|
View Format | {% if data.submitted_data.view is defined %} {{ profiler_dump(data.submitted_data.seek('view')) }} {% else %} same as normalized format {% endif %} |
Normalized Format | {{ profiler_dump(data.submitted_data.seek('norm')) }} |
Model Format | {% if data.submitted_data.model is defined %} {{ profiler_dump(data.submitted_data.seek('model')) }} {% else %} same as normalized format {% endif %} |
This form was not submitted.
Option | Passed Value | Resolved Value |
---|---|---|
{{ option }} | {{ profiler_dump(value) }} | {# values can be stubs #} {% set option_value = value.value|default(value) %} {% set resolved_option_value = data.resolved_options[option].value|default(data.resolved_options[option]) %} {% if resolved_option_value == option_value %} same as passed value {% else %} {{ profiler_dump(data.resolved_options.seek(option)) }} {% endif %} |
No options were passed when constructing this form.
Option | Value |
---|---|
{{ option }} | {{ profiler_dump(value) }} |
Variable | Value |
---|---|
{{ variable }} | {{ profiler_dump(value) }} |