just to demonstrate output and input

This commit is contained in:
Gabor Körber 2023-12-20 11:24:13 +01:00
parent d89ff40d33
commit 81586e2970

View File

@ -13,5 +13,5 @@ pub async fn howtos(templates: State<templates::Templates>) -> impl IntoResponse
}
pub async fn answer_question(Form(question): Form<Question>) -> impl IntoResponse {
"There is your answer!".to_owned()
format!("You asked: {}, There is your answer!", question.question).to_owned()
}