what2watch/src/templates.rs

13 lines
303 B
Rust
Raw Normal View History

use askama::Template;
use serde::Deserialize;
#[derive(Debug, Default, Template, Deserialize)]
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,
}