what2watch/src/templates.rs

12 lines
250 B
Rust
Raw Normal View History

use askama::Template;
#[derive(Template)]
2023-05-17 20:40:06 +00:00
#[template(path = "signup.html")]
pub struct CreateUser {
pub username: String,
pub displayname: Option<String>,
pub email: Option<String>,
pub password: String,
pub pw_verify: String,
}