diff options
author | Vojtěch Pejša <vojtechpejsa7@gmail.com> | 2019-03-29 22:33:27 +0000 |
---|---|---|
committer | Vojtěch Pejša <vojtechpejsa7@gmail.com> | 2019-04-04 08:51:00 +0000 |
commit | 93ea625fe29ea02c5bda6b4f6361134a0fe667f0 (patch) | |
tree | be186a0ca7515457cfbc73ee1f315ddeaabdaee6 /src/renderer.rs | |
parent | Fix syntax error and clippy warnings. (diff) | |
download | miniserve-93ea625fe29ea02c5bda6b4f6361134a0fe667f0.tar.gz miniserve-93ea625fe29ea02c5bda6b4f6361134a0fe667f0.zip |
Fix typos and indentation.
Diffstat (limited to 'src/renderer.rs')
-rw-r--r-- | src/renderer.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/renderer.rs b/src/renderer.rs index 75d5c56..cb6d5d5 100644 --- a/src/renderer.rs +++ b/src/renderer.rs @@ -24,11 +24,11 @@ pub fn page( span #top { } h1 { (page_title) } @if file_upload { - form action={(upload_route) "?path=" (current_dir)} method="POST" enctype="multipart/form-data" { - p { "Select file to upload" } - input type="file" name="file_to_upload" {} - input type="submit" value="Upload file" {} - } + form action={(upload_route) "?path=" (current_dir)} method="POST" enctype="multipart/form-data" { + p { "Select file to upload" } + input type="file" name="file_to_upload" {} + input type="submit" value="Upload file" {} + } } div.download { (archive_button(archive::CompressionMethod::TarGz)) |