registration_form.html 868 B

1234567891011121314151617181920212223242526272829303132
  1. {% extends "registration/base.html" %}
  2. {% load bootstrap3 %}
  3. {% block title %}Sign up{% endblock %}
  4. {% block content %}
  5. {% if form.errors %}
  6. <p class="errors">Please correct the errors below: {{ form.non_field_errors }}</p>
  7. {% endif %}
  8. <h1>Create an account</h1>
  9. <form method="post" action="" class="wide">
  10. <div class="row">
  11. <div class="col-sm-4">
  12. {% csrf_token %}
  13. {% bootstrap_form form %}
  14. <input class="btn btn-primary" type="submit" value="Register">
  15. </div>
  16. </div>
  17. </form>
  18. {% endblock %}
  19. {% block content-related %}
  20. <p>Fill out the form to the left (all fields are required), and your
  21. account will be created; you'll be sent an email with instructions on how
  22. to finish your registration.</p>
  23. <p>This account will let you log into OsmiumTables, upload data files, and creeate tables.
  24. </p>
  25. {% endblock %}