Skip to content

Commit 7629b03

Browse files
authored
Update _comment_form.html.twig
1 parent 6fab15f commit 7629b03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/blog/_comment_form.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
{{ form_errors(form) }}
2323

2424
<div class="form-group {% if not form.content.vars.valid %}has-error{% endif %}">
25-
{{ form_label(form.content, 'label.content', {label_attr: {class: 'hidden'}}) }}
25+
{{ form_label(form.content, 'label.content', {label_attr: {class: 'sr-only'}}) }}
2626

2727
{# Render any errors for the "content" field (e.g. when a class property constraint failed) #}
2828
{{ form_errors(form.content) }}

0 commit comments

Comments
 (0)