login.html 605 B

1234567891011121314151617181920
  1. <!DOCTYPE html>
  2. <html lang="zh-cn">
  3. <div>
  4. <form method="post" action=".">
  5. {% csrf_token %}
  6. <!-- 账号 -->
  7. <div>
  8. <label for="username">账号</label>
  9. <input type="text" id="username" name="username">
  10. </div>
  11. <!-- 密码 -->
  12. <div>
  13. <label for="password">密码</label>
  14. <input type="password" id="password" name="password">
  15. </div>
  16. <!-- 提交按钮 -->
  17. <button type="submit">提交</button>
  18. </form>
  19. </div>
  20. </html>