Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- % if not name:
- <form name="input" action="login" method="post">
- Username: <input type="text" name="username" /></br>
- Password: <input type="text" name="password" />
- <input type="submit" value="Submit" />
- </form>
- % else :
- <h1> ${name}</h1>
- <form name="Update" action="./update" method="post">
- <input type="text" name="update" /></br>
- <input type="submit" value="Submit" />
- </form>
- % endif
- % if updates:
- % for x in updates:
- <a href="./user/${x[2]}">${x[2]}</a>: <p>${x[1]} </p> on ${x[0]} <hr />
- % endfor
- % endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement