working server built betterer in rust
This commit is contained in:
parent
1decdb43a5
commit
0ccbe35ca3
4 changed files with 258 additions and 16 deletions
|
@ -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) "!"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue