diff --git a/layouts/shortcodes/contact-form.html b/layouts/shortcodes/contact-form.html index 6b8c0b0..579520b 100644 --- a/layouts/shortcodes/contact-form.html +++ b/layouts/shortcodes/contact-form.html @@ -40,7 +40,14 @@
-
+ +>

Contact Form

diff --git a/src/api/contact.rs b/src/api/contact.rs index 06c8941..a7bb789 100644 --- a/src/api/contact.rs +++ b/src/api/contact.rs @@ -125,7 +125,7 @@ pub async fn contact_form(MultipartForm(mut form): MultipartForm) - Ok(_) => info!("Successfully sent email"), Err(e) => error!("There was an error sending the email: {e}"), } - HttpResponse::Ok().body("thankyou") + HttpResponse::Ok().body("Thank you! We will get back with you shortly!") } #[cfg(test)]