Advertisement
Guest User

Untitled

a guest
Jun 4th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. % if not name:
  2. <form name="input" action="login" method="post">
  3. Username: <input type="text" name="username" /></br>
  4. Password: <input type="text" name="password" />
  5. <input type="submit" value="Submit" />
  6. </form>
  7. % else :
  8. <h1> ${name}</h1>
  9. <form name="Update" action="./update" method="post">
  10. <input type="text" name="update" /></br>
  11. <input type="submit" value="Submit" />
  12. </form>
  13. % endif
  14. % if updates:
  15. % for x in updates:
  16. <a href="./user/${x[2]}">${x[2]}</a>: <p>${x[1]} </p> on ${x[0]} <hr />
  17. % endfor
  18. % endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement