Skip to content

Commit 12d447d

Browse files
committed
Fixed form types in profiler
1 parent 98f86c0 commit 12d447d

File tree

1 file changed

+1
-1
lines changed
  • src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/form.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@
437437
<div class="toggle-icon empty"></div>
438438
{% endif %}
439439

440-
{{ name|default('(no name)') }} {% if data.type_class is defined and data.type is defined %}[<abbr title="{{ data.type_class }}">{{ data.type }}</abbr>]{% endif %}
440+
{{ name|default('(no name)') }} {% if data.type_class is defined %}[<abbr title="{{ data.type_class }}">{{ data.type_class|split('\\')|last }}</abbr>]{% endif %}
441441

442442
{% if data.errors is defined and data.errors|length > 0 %}
443443
<div class="badge-error">{{ data.errors|length }}</div>

0 commit comments

Comments
 (0)