From 7796c829625ce8e7b2afc12d72c087206626194d Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Sat, 26 Jul 2025 10:52:55 -0600 Subject: [PATCH] Move the prompt wrapper into each block partial so that those which don't need it can leave it out --- templates/Ask/inputs.hbs | 4 +--- templates/Ask/inputs/checkbox.hbs | 26 ++++++++++++++------------ templates/Ask/inputs/details.hbs | 2 +- templates/Ask/inputs/input.hbs | 26 ++++++++++++++------------ 4 files changed, 30 insertions(+), 28 deletions(-) diff --git a/templates/Ask/inputs.hbs b/templates/Ask/inputs.hbs index f5bdac4..36c1ea9 100644 --- a/templates/Ask/inputs.hbs +++ b/templates/Ask/inputs.hbs @@ -5,8 +5,6 @@

{{/if}} {{#each inputs as | i |}} -
- {{> (concat (systemFilePath "templates/Ask/inputs/" ) i.type ".hbs") i}} -
+ {{> (concat (systemFilePath "templates/Ask/inputs/" ) i.type ".hbs") i}} {{/each}} diff --git a/templates/Ask/inputs/checkbox.hbs b/templates/Ask/inputs/checkbox.hbs index cdca5e1..ce8fd88 100644 --- a/templates/Ask/inputs/checkbox.hbs +++ b/templates/Ask/inputs/checkbox.hbs @@ -1,12 +1,14 @@ - - +
+ + +
diff --git a/templates/Ask/inputs/details.hbs b/templates/Ask/inputs/details.hbs index fec6878..f84af5d 100644 --- a/templates/Ask/inputs/details.hbs +++ b/templates/Ask/inputs/details.hbs @@ -1,3 +1,3 @@ -

+

{{{ details }}}

diff --git a/templates/Ask/inputs/input.hbs b/templates/Ask/inputs/input.hbs index 196b12d..98922df 100644 --- a/templates/Ask/inputs/input.hbs +++ b/templates/Ask/inputs/input.hbs @@ -1,12 +1,14 @@ - - +
+ + +