send_message.html 790 B

123456789101112131415161718192021
  1. <div>
  2. <br>
  3. <form method="post" action="." enctype="multipart/form-data">
  4. {% csrf_token %}
  5. <div>
  6. <label for="toUsername">
  7. 接收方username
  8. </label>
  9. <input type="text" id="toUsername" name="toUsername">
  10. </div>
  11. <div>
  12. <label for="plaintext">
  13. 消息内容
  14. </label>
  15. <input type="text" id="plaintext" name="plaintext">
  16. </div>
  17. <button type="submit">
  18. 提交
  19. </button>
  20. </form>
  21. </div>