![](https://secure.gravatar.com/avatar/37ed63938a579fb1bd8f96c740ba5d72.jpg?s=120&d=mm&r=g)
Hello, I'm learning nevow and I would appreciate some help modifying this example: http://nevowexamples.adytum.us/sources/guarded.py This "logs in" a user validating it with a username and password. The form used to accept user input is embedded in the code using the stan tags in the NotLoggedIn() class. What I want is to have the login form in an external xhtml file (login.html), like the one that follows my signature. My new NotLoggedIn() class simply looks like this: class NotLoggedIn(rend.Page): """The resource that is returned when you are not logged in""" addSlash = True docFactory = loaders.xmlfile("login.html") I believe the only thing that has to change in the xhtml file (other than the nevow xml space declaration) is on the first line, the "action" thing (guard.LOGIN_AVATAR in guarded.py). But I can't figure out what nevow tag to use there. Can you suggest how to do it? Thanks, -- Pedro <form action="guard.LOGIN_AVATAR" method="post"> <table> <tr> <td>Customer ID:</td> <td><input type="text" name="username" /></td> </tr> <tr> <td>Password:</td> <td><input type="password" name="password" /></td> </tr> </table> <input type="submit" /> </form>