Skip to content

Commit

Permalink
Revert #47715
Browse files Browse the repository at this point in the history
  • Loading branch information
mpdude committed Jan 28, 2024
1 parent c78f26c commit a53a9e1
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{% extends "base.html.twig" %}

{% block body %}
Hello {{ app.user.userIdentifier }}!<br><br>
You're browsing to path "{{ app.request.pathInfo }}".<br><br>
Hello {{ app.user.userIdentifier }}!<br /><br />
You're browsing to path "{{ app.request.pathInfo }}".<br /><br />
<a href="{{ logout_path('default') }}">Log out</a>.
<a href="{{ logout_url('default') }}">Log out</a>.
{% endblock %}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{{ form_widget(form) }}

{# Note: ensure the submit name does not conflict with the form's name or it may clobber field data #}
<input type="submit" name="login">
<input type="submit" name="login" />
</form>

{% endblock %}
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@

<form action="{{ path('localized_check_path') }}" method="post">
<label for="username">Username:</label>
<input type="text" id="username" name="_username" value="{{ last_username }}">
<input type="text" id="username" name="_username" value="{{ last_username }}" />

<label for="password">Password:</label>
<input type="password" id="password" name="_password">
<input type="password" id="password" name="_password" />

<input type="hidden" name="_target_path" value="">
<input type="hidden" name="_target_path" value="" />

<input type="submit" name="login">
<input type="submit" name="login" />
</form>

{% endblock %}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends "base.html.twig" %}

{% block body %}
Hello {{ user.userIdentifier }}!<br><br>
Hello {{ user.userIdentifier }}!<br /><br />
You're browsing to path "{{ app.request.pathInfo }}".

<a href="{{ logout_path('default') }}">Log out</a>.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@

<form action="{{ path('form_login_check') }}" method="post">
<label for="username">Username:</label>
<input type="text" id="username" name="_username" value="{{ last_username }}">
<input type="text" id="username" name="_username" value="{{ last_username }}" />

<label for="password">Password:</label>
<input type="password" id="password" name="_password">
<input type="password" id="password" name="_password" />

<input type="hidden" name="_target_path" value="">
<input type="hidden" name="_target_path" value="" />

<input type="submit" name="login">
<input type="submit" name="login" />
</form>

{% endblock %}
2 changes: 1 addition & 1 deletion Tests/Functional/app/templates/base.html.twig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="{{ _charset }}">
<meta charset="{{ _charset }}" />
<title>{% block title %}Welcome!{% endblock %}</title>
{% block stylesheets %}{% endblock %}
</head>
Expand Down

0 comments on commit a53a9e1

Please sign in to comment.