1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
| <!DOCTYPE html>
| <html lang="en">
| <head>
| <title>Quick Tour: ${name}</title>
| </head>
| <body>
|
| <div>
| <a tal:condition="view.logged_in is None"
| href="${request.application_url}/login">Log In</a>
| <a tal:condition="view.logged_in is not None"
| href="${request.application_url}/logout">Logout</a>
| </div>
|
| <h1>Hi ${name}</h1>
| <p>Visit <a href="${request.route_url('hello')}">hello</a></p>
| </body>
| </html>
|
|