暂无描述

login.html 336B

123456789101112131415
  1. {% extends 'front/base.html' %}
  2. {% load crispy_forms_tags %}
  3. {% block title %}Login{% endblock %}
  4. {% block content %}
  5. <div class='col-md-4 offset-md-4'>
  6. <h2>Login</h2>
  7. <form method="post">
  8. {% csrf_token %}
  9. {{ form | crispy }}
  10. <button type="submit" class='btn btn-primary'>Login</button>
  11. </form>
  12. </div>
  13. {% endblock %}