| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 05b4170 commit 9513eca
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -12,7 +12,7 @@ | |||
| 12 | 12 | <body> | |
| 13 | 13 | <div id="app"> | |
| 14 | 14 | <div id="webform-customer-app-area"> | |
| 15 | - <h1 id="webforms-heading">Embedded web form example</h1> | ||
| 15 | + <h5 id="webforms-heading">{{ webforms_heading }}</h5> | ||
| 16 | 16 | <div id="docusign" class="webform-iframe-container"> | |
| 17 | 17 | <p>Web Form will render here</p> | |
| 18 | 18 | </div> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -55,11 +55,16 @@ def create_web_form_instance(): | |||
| 55 | 55 | except Exception as error: | |
| 56 | 56 | return process_error(error) | |
| 57 | 57 | ||
| 58 | + example = get_example_by_number(session["manifest"], example_number, api) | ||
| 59 | + additional_page_data = next((p for p in example["AdditionalPage"] if p["Name"] == "webforms_heading"), | ||
| 60 | + None) | ||
| 61 | + | ||
| 58 | 62 | return render_template( | |
| 59 | 63 | "webforms/eg001_web_form_embed.html", | |
| 60 | 64 | form_url=results.form_url, | |
| 61 | 65 | instance_token=results.instance_token, | |
| 62 | - integration_key=DS_CONFIG["ds_client_id"] | ||
| 66 | + integration_key=DS_CONFIG["ds_client_id"], | ||
| 67 | + webforms_heading=additional_page_data["ResultsPageText"] | ||
| 63 | 68 | ) | |
| 64 | 69 | ||
| 65 | 70 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments