aboutsummaryrefslogtreecommitdiffstats
path: root/src/renderer.rs
diff options
context:
space:
mode:
authorVojtěch Pejša <vojtechpejsa7@gmail.com>2019-03-29 22:33:27 +0000
committerVojtěch Pejša <vojtechpejsa7@gmail.com>2019-04-04 08:51:00 +0000
commit93ea625fe29ea02c5bda6b4f6361134a0fe667f0 (patch)
treebe186a0ca7515457cfbc73ee1f315ddeaabdaee6 /src/renderer.rs
parentFix syntax error and clippy warnings. (diff)
downloadminiserve-93ea625fe29ea02c5bda6b4f6361134a0fe667f0.tar.gz
miniserve-93ea625fe29ea02c5bda6b4f6361134a0fe667f0.zip
Fix typos and indentation.
Diffstat (limited to '')
-rw-r--r--src/renderer.rs10
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))