diff --git a/examples/users/templates/login.html b/examples/users/templates/login.html index 335ab69..63503d1 100644 --- a/examples/users/templates/login.html +++ b/examples/users/templates/login.html @@ -4,7 +4,7 @@ <%% "templates/head.html" %> -
+

Login

<%= csrf_token() %> @@ -33,7 +33,7 @@

Login

diff --git a/examples/users/templates/signup.html b/examples/users/templates/signup.html index 8b3bf17..0b37247 100644 --- a/examples/users/templates/signup.html +++ b/examples/users/templates/signup.html @@ -4,7 +4,7 @@ <%% "templates/head.html" %> -
+

Create account

<% if error_user_exists %> @@ -23,9 +23,14 @@

Create account

+
+ + +
+
diff --git a/rwf/src/model/user.rs b/rwf/src/model/user.rs index bf79051..35609d7 100644 --- a/rwf/src/model/user.rs +++ b/rwf/src/model/user.rs @@ -1,4 +1,4 @@ -use super::{Model, Pool, Row, ToValue, Value}; +use super::{Model, Pool, ToValue, Value}; use async_trait::async_trait; use tokio::task::spawn_blocking;