File tree Expand file tree Collapse file tree 6 files changed +13
-13
lines changed
CsrfFormLoginBundle/Resources/views/Login
FormLoginBundle/Resources/views Expand file tree Collapse file tree 6 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 1
1
{% extends " base.html.twig" %}
2
2
3
3
{% block body %}
4
- Hello {{ app .user .userIdentifier }}!<br ><br >
5
- You're browsing to path "{{ app .request .pathInfo }}".<br ><br >
4
+ Hello {{ app .user .userIdentifier }}!<br / ><br / >
5
+ You're browsing to path "{{ app .request .pathInfo }}".<br / ><br / >
6
6
<a href =" {{ logout_path(' default' ) }}" >Log out</a >.
7
7
<a href =" {{ logout_url(' default' ) }}" >Log out</a >.
8
8
{% endblock %}
Original file line number Diff line number Diff line change 6
6
{{ form_widget(form ) }}
7
7
8
8
{# Note: ensure the submit name does not conflict with the form's name or it may clobber field data #}
9
- <input type =" submit" name =" login" >
9
+ <input type =" submit" name =" login" / >
10
10
</form >
11
11
12
12
{% endblock %}
Original file line number Diff line number Diff line change 8
8
9
9
<form action =" {{ path(' localized_check_path' ) }}" method =" post" >
10
10
<label for =" username" >Username:</label >
11
- <input type =" text" id =" username" name =" _username" value =" {{ last_username }}" >
11
+ <input type =" text" id =" username" name =" _username" value =" {{ last_username }}" / >
12
12
13
13
<label for =" password" >Password:</label >
14
- <input type =" password" id =" password" name =" _password" >
14
+ <input type =" password" id =" password" name =" _password" / >
15
15
16
- <input type =" hidden" name =" _target_path" value =" " >
16
+ <input type =" hidden" name =" _target_path" value =" " / >
17
17
18
- <input type =" submit" name =" login" >
18
+ <input type =" submit" name =" login" / >
19
19
</form >
20
20
21
21
{% endblock %}
Original file line number Diff line number Diff line change 1
1
{% extends " base.html.twig" %}
2
2
3
3
{% block body %}
4
- Hello {{ user .userIdentifier }}!<br ><br >
4
+ Hello {{ user .userIdentifier }}!<br / ><br / >
5
5
You're browsing to path "{{ app .request .pathInfo }}".
6
6
7
7
<a href =" {{ logout_path(' default' ) }}" >Log out</a >.
Original file line number Diff line number Diff line change 9
9
10
10
<form action =" {{ path(' form_login_check' ) }}" method =" post" >
11
11
<label for =" username" >Username:</label >
12
- <input type =" text" id =" username" name =" _username" value =" {{ last_username }}" >
12
+ <input type =" text" id =" username" name =" _username" value =" {{ last_username }}" / >
13
13
14
14
<label for =" password" >Password:</label >
15
- <input type =" password" id =" password" name =" _password" >
15
+ <input type =" password" id =" password" name =" _password" / >
16
16
17
- <input type =" hidden" name =" _target_path" value =" " >
17
+ <input type =" hidden" name =" _target_path" value =" " / >
18
18
19
- <input type =" submit" name =" login" >
19
+ <input type =" submit" name =" login" / >
20
20
</form >
21
21
22
22
{% endblock %}
Original file line number Diff line number Diff line change 1
1
<!DOCTYPE html>
2
2
<html >
3
3
<head >
4
- <meta charset =" {{ _charset }}" >
4
+ <meta charset =" {{ _charset }}" / >
5
5
<title >{% block title %}Welcome!{% endblock %}</title >
6
6
{% block stylesheets %}{% endblock %}
7
7
</head >
You can’t perform that action at this time.
0 commit comments