Skip to content

Commit ce1e704

Browse files
committed
changed text in Web Forms example
1 parent 65dc4be commit ce1e704

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

launcher-csharp/WebForms/Controllers/CreateAndEmbedForm.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ public ActionResult EmbedForm()
117117
accountId,
118118
formId);
119119

120+
this.ViewBag.Description = this.CodeExampleText.AdditionalPages
121+
.First(x => x.Name == "webforms_heading").ResultsPageText;
120122
this.ViewBag.InstanceToken = form.InstanceToken;
121123
this.ViewBag.Url = form.FormUrl;
122124
this.ViewBag.IntegrationKey = this.configuration["DocuSign:ClientId"];

launcher-csharp/WebForms/Views/CreateAndEmbedForm/Embed.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<body>
1212
<div id="app">
1313
<div id="webform-customer-app-area">
14-
<h5 id="webforms-heading">The web form has been embedded below using the Docusign JS library.</h5>
14+
<h5 id="webforms-heading">@Html.Raw(ViewBag.Description)</h5>
1515
<div id="docusign" class="webform-iframe-container">
1616
<p>Web Form will render here</p>
1717
</div>

0 commit comments

Comments
 (0)