Skip to content

Commit 43dc231

Browse files
authored
Merge pull request #161 from docusign/feature/added-text-to-manifest
Add heading for WebForms code example
2 parents c250704 + 549f992 commit 43dc231

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Controllers/Examples/WebForms/EG001CreateAndEmbedForm.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ protected function createController(): void
104104
$GLOBALS['twig']->display(
105105
self::WEB_FORM . '.html',
106106
[
107+
'embeddedBy' => $this->codeExampleText["AdditionalPage"][2]["ResultsPageText"],
107108
'instance_token ' => $webFormInstance["instance_token"],
108109
'url' => $webFormInstance["form_url"],
109110
'integration_key' => $GLOBALS['DS_CONFIG']['ds_client_id'],

templates/webforms/webForm.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<body>
1111
<div id="app">
1212
<div id="webform-customer-app-area">
13-
<h5 id="webforms-heading">The web form has been embedded below using the Docusign JS library.</h5>
13+
<h5 id="webforms-heading">{{ embeddedBy | raw }}</h5>
1414
<div id="docusign" class="webform-iframe-container">
1515
<p>Web Form will render here</p>
1616
</div>

0 commit comments

Comments
 (0)