Move form out
This commit is contained in:
parent
dfe4290713
commit
6d388ed61b
1 changed files with 11 additions and 0 deletions
11
src/forms.rs
Normal file
11
src/forms.rs
Normal file
|
@ -0,0 +1,11 @@
|
|||
use rocket::form::FromForm;
|
||||
|
||||
#[derive(FromForm)]
|
||||
pub struct ContactForm {
|
||||
pub id: u16,
|
||||
pub name: String,
|
||||
pub email: String,
|
||||
pub telefon: String,
|
||||
pub message: String,
|
||||
pub captcha_answer: String,
|
||||
}
|
Loading…
Reference in a new issue