aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/views/upload.rocker.html
diff options
context:
space:
mode:
authorMarvin Borner2019-04-07 17:17:17 +0200
committerMarvin Borner2019-04-07 17:17:17 +0200
commit5ec7ec5c50eeb3e2c281c0edfee6c74d7d512500 (patch)
tree071270805b5b2169d4aa26462647f9a5737b231e /src/main/resources/views/upload.rocker.html
parent4e2024432ee680f98d91d07b050ac60151ebec4c (diff)
Added drag and drop file upload
Diffstat (limited to 'src/main/resources/views/upload.rocker.html')
-rw-r--r--src/main/resources/views/upload.rocker.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/resources/views/upload.rocker.html b/src/main/resources/views/upload.rocker.html
index b36abdc..ec5daa2 100644
--- a/src/main/resources/views/upload.rocker.html
+++ b/src/main/resources/views/upload.rocker.html
@@ -1,8 +1,8 @@
@args (String content)
@layout.template("Upload", RockerContent.NONE, RockerContent.NONE) -> {
-<form action="/api/upload?dir=test" enctype="multipart/form-data" method="post">
- <input multiple name="files" type="file">
+<form action="/upload/test" enctype="multipart/form-data" method="post">
+ <input multiple name="file" type="file">
<button>Submit</button>
</form>
}