diff options
Diffstat (limited to 'src/main/resources/views/upload.rocker.html')
-rw-r--r-- | src/main/resources/views/upload.rocker.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/resources/views/upload.rocker.html b/src/main/resources/views/upload.rocker.html new file mode 100644 index 0000000..441a570 --- /dev/null +++ b/src/main/resources/views/upload.rocker.html @@ -0,0 +1,8 @@ +@args (String content) + +@layout.template("Upload") -> { +<form action="/api/upload?dir=test" enctype="multipart/form-data" method="post"> + <input multiple name="files" type="file"> + <button>Submit</button> +</form> +} |