Skip to content

Commit 0ec2785

Browse files
committed
Update Login.py
Fix button to show Log In instead of Register
1 parent 93e2ffa commit 0ec2785

File tree

3 files changed

+3
-3
lines changed
  • code
    • ch6-users-and-forms/templates/account
    • ch7-databases/templates/account
    • ch8-async-databases/templates/account

3 files changed

+3
-3
lines changed

code/ch6-users-and-forms/templates/account/login.pt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
value="${ email }">
99
<input name="password" type="password" placeholder=" Password" class="form-control"
1010
value="${ password }">
11-
<button type="submit" class="btn btn-danger">Register</button>
11+
<button type="submit" class="btn btn-danger">Log In</button>
1212
<div style="clear: both;"></div>
1313

1414
<div class="error-msg" tal:condition="error">${ error }</div>

code/ch7-databases/templates/account/login.pt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
value="${ email }">
99
<input name="password" type="password" placeholder=" Password" class="form-control"
1010
value="${ password }">
11-
<button type="submit" class="btn btn-danger">Register</button>
11+
<button type="submit" class="btn btn-danger">Log In</button>
1212
<div style="clear: both;"></div>
1313

1414
<div class="error-msg" tal:condition="error">${ error }</div>

code/ch8-async-databases/templates/account/login.pt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
value="${ email }">
99
<input name="password" type="password" placeholder=" Password" class="form-control"
1010
value="${ password }">
11-
<button type="submit" class="btn btn-danger">Register</button>
11+
<button type="submit" class="btn btn-danger">Log In</button>
1212
<div style="clear: both;"></div>
1313

1414
<div class="error-msg" tal:condition="error">${ error }</div>

0 commit comments

Comments
 (0)