diff options
Diffstat (limited to '')
-rw-r--r-- | templates/login.rs.html | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/templates/login.rs.html b/templates/login.rs.html index 349263c..c87866c 100644 --- a/templates/login.rs.html +++ b/templates/login.rs.html @@ -1,8 +1,9 @@ @use super::base_html; +@use crate::Notification; -@() +@(notification: Option<Notification>) -@:base_html(false, { +@:base_html(false, None, { <form action="/login" method="post"> <label for="username">username:</label> <input type="text" id="username" name="username" required="true" /> @@ -12,4 +13,4 @@ <input type="checkbox" id="rememberme" name="rememberme" /> <button type="submit">log in</button> </form> -})
\ No newline at end of file +}) |