diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/renderer.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderer.rs b/src/renderer.rs index c1dcdb2..06f7bec 100644 --- a/src/renderer.rs +++ b/src/renderer.rs @@ -47,7 +47,7 @@ pub fn page( form id="file_submit" action={(upload_route) "?path=" (current_dir)} method="POST" enctype="multipart/form-data" { p { "Select a file to upload or drag it anywhere into the window" } div { - input#file-input type="file" name="file_to_upload" {} + input#file-input type="file" name="file_to_upload" required="" {} button type="submit" { "Upload file" } } } |