8000 Removing self-closing slash from `<input>`s · symfony/symfony-docs@c08a0a8 · GitHub
[go: up one dir, main page]

Skip to content

Commit c08a0a8

Browse files
Removing self-closing slash from <input>s
I suggested the same for Symfony's templates, see symfony/symfony#47715
1 parent 425563d commit c08a0a8
8000

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

security.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -807,13 +807,13 @@ Finally, create or update the template:
807807

808808
<form action="{{ path('app_login') }}" method="post">
809809
<label for="username">Email:</label>
810-
<input type="text" id="username" name="_username" value="{{ last_username }}"/>
810+
<input type="text" id="username" name="_username" value="{{ last_username }}">
811811

812812
<label for="password">Password:</label>
813-
<input type="password" id="password" name="_password"/>
813+
<input type="password" id="password" name="_password">
814814

815815
{# If you want to control the URL the user is redirected to on success
816-
<input type="hidden" name="_target_path" value="/account"/> #}
816+
<input type="hidden" name="_target_path" value="/account"> #}
817817

818818
<button type="submit">login</button>
819819
</form>

0 commit comments

Comments
 (0)
0