From 81586e29708e04648623afb2a276ee8b161b2b7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabor=20K=C3=B6rber?= Date: Wed, 20 Dec 2023 11:24:13 +0100 Subject: [PATCH] just to demonstrate output and input --- src/howto/views.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/howto/views.rs b/src/howto/views.rs index 0fc9a4a..0974caf 100644 --- a/src/howto/views.rs +++ b/src/howto/views.rs @@ -13,5 +13,5 @@ pub async fn howtos(templates: State) -> impl IntoResponse } pub async fn answer_question(Form(question): Form) -> impl IntoResponse { - "There is your answer!".to_owned() + format!("You asked: {}, There is your answer!", question.question).to_owned() }