Skip to content

Commit

Permalink
Add option to activate FormSource in FormBlocks reports
Browse files Browse the repository at this point in the history
  • Loading branch information
hugopeek committed Jun 30, 2020
1 parent bc8a015 commit 368ab4a
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
7 changes: 7 additions & 0 deletions _build/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5171,6 +5171,13 @@
"area": "FormBlocks - Settings",
"value": ""
},
{
"key": "formsource",
"namespace": "formblocks",
"type": "combo-boolean",
"area": "FormBlocks - Settings",
"value": "0"
},
{
"key": "activation_resource_id",
"namespace": "formblocks",
Expand Down
6 changes: 6 additions & 0 deletions _build/src/00_electrons/e_formblocks/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@
"type": "textfield",
"area": "FormBlocks - Settings",
"value": ""
},{
"key": "formsource",
"namespace": "formblocks",
"type": "combo-boolean",
"area": "FormBlocks - Settings",
"value": "0"
},{
"key": "activation_resource_id",
"namespace": "formblocks",
Expand Down
1 change: 1 addition & 0 deletions core/components/romanesco/docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Released on ...

Fixes and improvements:
- Refactor main accordion menu
- Add option to activate FormSource in FormBlocks reports
- Add ability to change custom CSS path (per context, if needed)
- Create absolute path for CSS backgrounds that won't be thumbnailed
- Rename Semantic assets paths in system settings
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
[[*fb_hooks:notempty=`[[*fb_hooks]],`]]
[[*fb_email_to:notempty=`email,`]]
[[*fb_autoresponder_toggle:eq=`1`:then=`FormItAutoResponder,`]]
[[++formblocks.formsource:eq=`1`:then=`formsource_reset,`]]
redirect
`

Expand Down Expand Up @@ -113,6 +114,7 @@
<form id="form-[[*alias]]" class="ui [[+form_size]] [[+segment_type:eq=`none`:then=`basic`]] form" name="fb[[*id]]" action="[[~[[+current_id:empty=`0`]]]]" method="post" enctype="multipart/form-data">

[[[[+multiple_steps:notempty=`!fbFormReport? &formID=`[[*id]][[+prev_forms:prepend=`,`]][[+next_forms:prepend=`,`]]` &tplPrefix=`fbStoreRow_``]]]]
[[[[++formblocks.formsource:eq=`1`:then=`!formsource`]]]]

<div class="ui [[+segment_type]]">

Expand Down

0 comments on commit 368ab4a

Please sign in to comment.