From 6d827365ac7123a3cc876e51bd8d993a39fd206f Mon Sep 17 00:00:00 2001 From: efim Date: Sat, 15 Jul 2023 13:21:26 +0000 Subject: [PATCH] feat(15): dynamic rendering of plan types currently only on page revisit. for dynamic - need to use htmx swapping, with separate endpoing getting updates value from whole element being a fragment --- .../src/main/resources/templates/step2.html | 51 ++++++++++++++----- .../src/main/scala/multistepform/Models.scala | 14 ++--- 2 files changed, 46 insertions(+), 19 deletions(-) diff --git a/15-multi-step-form/src/main/resources/templates/step2.html b/15-multi-step-form/src/main/resources/templates/step2.html index 5535e19..6faf673 100644 --- a/15-multi-step-form/src/main/resources/templates/step2.html +++ b/15-multi-step-form/src/main/resources/templates/step2.html @@ -109,27 +109,38 @@

You have the option of monthly or yearly billing.

-
-