<html><body>
<f:form>
[[ if request.login_id():{ ]]
You are logged in with user id [[= request.login_id() ]]
<spy:logout />
[[ } else: { ]]
<spy:login />
You are not logged in. (You may login with username/password: spyce/spyce.)
[[ } ]]
<p>
(Here is some content that is the same before and after login.)
</f:form>
</body></html>
|