Commit Diff


commit - 4ffa5bc4f097afb274875f8caeb52b2f662e8e30
commit + 6dc085724399d2f4c8a555222fc753b782b38e30
blob - 99f3f114b1204df0157192bc83677f895d451d57
blob + 5cb017ae3d27467e17fe06f6f682c5a2abb47d9c
--- src/site/upload.rs
+++ src/site/upload.rs
@@ -85,11 +85,11 @@ pub fn index(req: &Request) -> Result<Response> {
 				]
 			    }
 			    br;
-			    input [type="submit", value="Farbe"] {}
+			    input [type="submit", value="Farbe"];
 			}
 			br;
 			form [action="/test/upload/logout/"] {
-			    input [type="submit", value="Abmelden"] {}
+			    input [type="submit", value="Abmelden"];
 			}
 		    }
 		},
@@ -103,13 +103,13 @@ pub fn index(req: &Request) -> Result<Response> {
 			form [action="/test/upload/", method="POST"] {
 			    label [for="name"] { "Name:"; }
 			    br;
-			    input [type="text", name="name"] {}
+			    input [type="text", id="name", name="name"];
 			    br;
 			    label [for="age"] { "Age:"; }
 			    br;
-			    input [type="text", name="age"] {}
+			    input [type="text", id="age", name="age"];
 			    br;
-			    input [type="submit"] {}
+			    input [type="submit"];
 			}
 		    }
 		},