No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

login.html 628B

1234567891011121314151617181920212223242526
  1. {% extends "base.html" %}
  2. {% load crispy_forms_tags %}
  3. {% block content %}
  4. <div class="row">
  5. <div class="col-sm-4 col-sm-offset-4">
  6. <!-- <h2 class="text-center">Please login</h2> -->
  7. <div class="panel panel-primary">
  8. <div class="panel-heading">Login</div>
  9. <div class="panel-body">
  10. <p>
  11. Don't have an account? <a href="{% url 'register' %}">Register here!</a>
  12. </p>
  13. <form action="{% url "login" %}" method="post">
  14. {% csrf_token %}
  15. {{ form|crispy }}
  16. <button type="submit" class="btn btn-primary" value="Login">Login</button>
  17. </form>
  18. </div>
  19. </div>
  20. </div>
  21. </div>
  22. {% endblock %}