Skip to content

Commit 85564cc

Browse files
committed
moved signer tabs and removed extra api method
1 parent e18c32c commit 85564cc

2 files changed

Lines changed: 12 additions & 10 deletions

File tree

app/eSignature/examples/eg040_document_visibility.py

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -151,25 +151,31 @@ def make_envelope(cls, args, doc_docx_path, doc_pdf_path):
151151
document_id="1",
152152
page_number="1",
153153
name="Signer1",
154-
x_position="200",
155-
y_position="200"
154+
anchor_string="**signature_1**",
155+
anchor_units="pixels",
156+
anchor_y_offset="10",
157+
anchor_x_offset="20"
156158
)
157159
sign_here2 = SignHere(
158160
document_id="2",
159161
page_number="1",
160162
name="Signer2",
161163
recipient_id="2",
162-
x_position="300",
163-
y_position="200"
164+
anchor_string="/sn1/",
165+
anchor_units="pixels",
166+
anchor_y_offset="10",
167+
anchor_x_offset="20"
164168
)
165169

166170
sign_here3 = SignHere(
167171
document_id="3",
168172
page_number="1",
169173
name="Signer2",
170174
recipient_id="2",
171-
x_position="300",
172-
y_position="200"
175+
anchor_string="/sn1/",
176+
anchor_units="pixels",
177+
anchor_y_offset="10",
178+
anchor_x_offset="20"
173179
)
174180

175181
# Add the tabs model (including the sign_here tabs) to the signer

app/templates/home.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,6 @@ <h4 id="example013"><a href="eg013">Request a signature using a composite templa
6464
<a target ='_blank' href="https://developers.docusign.com/docs/esign-rest-api/reference/envelopes/envelopes/create/">Envelopes::create</a> and
6565
<a target ='_blank' href="https://developers.docusign.com/docs/esign-rest-api/reference/envelopes/envelopeviews/createrecipient/">EnvelopeViews::createRecipient</a>.
6666
</p>
67-
68-
<p>API method used:
69-
<a target ='_blank' href="https://developers.docusign.com/docs/esign-rest-api/reference/envelopes/envelopes/create/">Envelopes::create</a>.
70-
</p>
7167

7268
<h4 id="example037"><a href="eg037">Request a signature by SMS delivery</a></h4>
7369
<p>

0 commit comments

Comments
 (0)