From dd590e15308dd27c853ee4a790544c9046861fac Mon Sep 17 00:00:00 2001
From: efim
Date: Sat, 15 Jul 2023 17:15:21 +0000
Subject: [PATCH] feat(15): jump from step4 to step2
here hidden 'form-confirmed' input will result in 'submitted' attribute
of Step4 answer to be set,
but this field is explicitly excluded on the hx-post from the Back
and Change links, this seems OK, i guess!
---
.../src/main/resources/templates/step4.html | 21 ++++++++++----
.../src/main/scala/multistepform/Models.scala | 28 +++++++++++--------
2 files changed, 32 insertions(+), 17 deletions(-)
diff --git a/15-multi-step-form/src/main/resources/templates/step4.html b/15-multi-step-form/src/main/resources/templates/step4.html
index 17668a0..f7238a9 100644
--- a/15-multi-step-form/src/main/resources/templates/step4.html
+++ b/15-multi-step-form/src/main/resources/templates/step4.html
@@ -122,7 +122,14 @@
>
$90/y