working server built betterer in rust

This commit is contained in:
Chris Cochrun 2024-07-05 13:45:49 -05:00
parent 1decdb43a5
commit 0ccbe35ca3
4 changed files with 258 additions and 16 deletions

View file

@ -321,8 +321,7 @@ pub async fn camp_form(MultipartForm(form): MultipartForm<CampForm>) -> HttpResp
"later" => {
log::info!("{} would like to pay later", full_name);
let html = html! {
div {
class { "mt-8" }
div class="mt-8" {
h2 {
"Thank you, " (full_name) "!"
}
@ -338,8 +337,7 @@ pub async fn camp_form(MultipartForm(form): MultipartForm<CampForm>) -> HttpResp
_ => {
log::error!("Got registration error.....");
let html = html! {
div {
class { "mt-8" }
div class="mt-8" {
h2 {
"Thank you, " (full_name) "!"
}