upload_file.html 764 B

1234567891011121314151617181920212223
  1. <!DOCTYPE html>
  2. <html lang="zh-cn">
  3. <div>
  4. <form method="post" enctype="multipart/form-data" action=".">
  5. {% csrf_token %}
  6. <!-- 昵称 -->
  7. <div>
  8. <label for="file_path">file_path</label>
  9. <input type="text" id="file_path" name="file_path">
  10. </div>
  11. <!-- 昵称 -->
  12. <div>
  13. <label for="folder_id">folder_id</label>
  14. <input type="text" id="folder_id" name="folder_id">
  15. </div>
  16. <div>
  17. <input type="file" name="upload">
  18. </div>
  19. <!-- 提交按钮 -->
  20. <button type="submit" class="btn btn-success btn-block">提交</button>
  21. </form>
  22. </div>
  23. </html>