Advertisement
quantim

WTForm validation problem

Jun 30th, 2017
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 0.52 KB | None | 0 0
  1. {% extends "base.html" %}
  2. {% block content %}
  3. <h1>Sign Up</h1>
  4.  
  5. <div align='center'>
  6. <form method="POST" action="/signup">
  7.    
  8. {{ form.hidden_tag() }}
  9. <p>{{ form.username() }} *Username</p>
  10. {{ form.username.values }}
  11.  
  12. <p>{{ form.email() }} *Email</p>
  13.  
  14. <p>{{ form.password() }} *Password</p>
  15.  
  16. <p>{{ form.confirm() }} *Confirm Password</p>
  17.  
  18. <p>Please Accept Terms of Service {{ form.accept_tos() }}</p>
  19. <br/>
  20. <br/>
  21. <button type="Submit" value="submit" name="submit">Submit</button>
  22. </form>
  23. </div>
  24. {% endblock %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement