FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
code-examples-python/app/templates/eg009_use_template.html at master · mathbeal/code-examples-python · GitHub
mathbeal
/
code-examples-python
Public
forked from
docusign/code-examples-python
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
code-examples-python
/
app
/
templates
/
eg009_use_template.html
Copy path
More file actions
More file actions
Latest commit
History
History
History
64 lines (55 loc) · 2.79 KB
Breadcrumbs
code-examples-python
/
app
/
templates
/
eg009_use_template.html
Copy path
File metadata and controls
64 lines (55 loc) · 2.79 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!-- extend base layout -->
{% extends "base.html" %} {% block content %}
<
h4
>
9. Send an envelope using a template
</
h4
>
<
p
>
The envelope is defined by the template.
The signer and cc recipient name and email are used to fill in the template's
<
i
>
roles
</
i
>
.
</
p
>
<
p
>
This example demonstrates a common pattern for DocuSign integrations: envelopes will
be sent programmatically, based on a template. If the template definition needs to be
updated, the DocuSign web tool can be used to easily update the template, thus
avoiding the need to make software changes.
</
p
>
{% if show_doc %}
<
p
>
<
a
target
='
_blank
'
href
='
{{ documentation | safe }}
'
>
Documentation
</
a
>
about this example.
</
p
>
{% endif %}
<
p
>
API method used:
<
a
target
='
_blank
'
href
="
https://developers.docusign.com/esign-rest-api/reference/Envelopes/Envelopes/create
"
>
Envelopes::create
</
a
>
.
</
p
>
<
p
>
View source file
<
a
target
="
_blank
"
href
="
{{ source_url | safe }}
"
>
{{ source_file }}
</
a
>
on GitHub.
</
p
>
{% if template_ok %}
<
p
>
The template you created via example 8 will be used.
</
p
>
<
form
class
="
eg
"
action
=""
method
="
post
"
data-busy
="
form
"
>
<
div
class
="
form-group
"
>
<
label
for
="
signer_email
"
>
Signer Email
</
label
>
<
input
type
="
email
"
class
="
form-control
"
id
="
signer_email
"
name
="
signer_email
"
aria-describedby
="
emailHelp
"
placeholder
="
pat@example.com
"
required
value
="
{{ signer_email }}
"
>
<
small
id
="
emailHelp
"
class
="
form-text text-muted
"
>
We'll never share your email with anyone else.
</
small
>
</
div
>
<
div
class
="
form-group
"
>
<
label
for
="
signer_name
"
>
Signer Name
</
label
>
<
input
type
="
text
"
class
="
form-control
"
id
="
signer_name
"
placeholder
="
Pat Johnson
"
name
="
signer_name
"
value
="
{{ signer_name }}
"
required
>
</
div
>
<
div
class
="
form-group
"
>
<
label
for
="
cc_email
"
>
CC Email
</
label
>
<
input
type
="
email
"
class
="
form-control
"
id
="
cc_email
"
name
="
cc_email
"
aria-describedby
="
emailHelp
"
placeholder
="
pat@example.com
"
required
/>
<
small
id
="
emailHelp
"
class
="
form-text text-muted
"
>
The email for the cc recipient must be different from the signer's email.
</
small
>
</
div
>
<
div
class
="
form-group
"
>
<
label
for
="
cc_name
"
>
CC Name
</
label
>
<
input
type
="
text
"
class
="
form-control
"
id
="
cc_name
"
placeholder
="
Pat Johnson
"
name
="
cc_name
"
required
>
</
div
>
<
input
type
="
hidden
"
name
="
csrf_token
"
value
="
{{ csrf_token() }}
"
/>
<
button
type
="
submit
"
class
="
btn btn-docu
"
>
Submit
</
button
>
</
form
>
{% else %}
<
p
>
Problem: please first create the template using
<
a
href
="
eg008
"
>
example 8.
</
a
>
<
br
/>
Thank you.
</
p
>
<
form
class
="
eg
"
action
="
eg008
"
method
="
get
"
>
<
button
type
="
submit
"
class
="
btn btn-docu
"
>
Continue
</
button
>
</
form
>
{% endif %}
{% endblock %}
Back
|
FazBrowse Home
|
New Git URL