[Bps-public-commit] rt-extension-formtools branch dynamic-forms-from-config updated. 0.53-46-gca165b2

BPS Git Server git at git.bestpractical.com
Tue Oct 10 19:08:44 UTC 2023


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "rt-extension-formtools".

The branch, dynamic-forms-from-config has been updated
       via  ca165b2f231ead2a88b2ae5862463807cc163ad8 (commit)
      from  8ad9f90ad8f85788454ee09d645f8139a1ca08b6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ca165b2f231ead2a88b2ae5862463807cc163ad8
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Tue Oct 10 15:08:09 2023 -0400

    Hide Submit button for result page

diff --git a/html/Forms/dhandler b/html/Forms/dhandler
index f8ca419..668ffa5 100644
--- a/html/Forms/dhandler
+++ b/html/Forms/dhandler
@@ -23,7 +23,9 @@ foreach my $element ( @{$form_config->{'formtools-pages'}{$page}{'content'}} ) {
 }
 </%perl>
 
-<& /FormTools/Next &>
+% if ( $form_config->{'formtools-pages'}{$page}{'next'} ) {
+ <& /FormTools/Next &>
+% }
 </&>
 <%init>
 

-----------------------------------------------------------------------

Summary of changes:
 html/Forms/dhandler | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
rt-extension-formtools


More information about the Bps-public-commit mailing list