8000 [Form][WCAG] Fixed HTML errors by Nyholm · Pull Request #26328 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Form][WCAG] Fixed HTML errors #26328

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fixed white space
  • Loading branch information
Nyholm committed Feb 26, 2018
commit f3d62f1227139662db85cdc318e3c9199255042a
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@
{% if type is not defined or type != 'hidden' %}
{%- set attr = attr|merge({class: (attr.class|default('') ~ ' form-control' ~ (type|default('') == 'file' ? '-file' : ''))|trim}) -%}
{% endif %}
{% if type is defined and (type == 'range' or type == 'color') %}
{%- if type is defined and (type == 'range' or type == 'color') %}
{# Attribute "required" is not supported #}
{% set required = false %}
{%- set required = false -%}
{% endif %}
{{- parent() -}}
{%- endblock form_widget_simple %}
Expand Down
0