mirror of
https://github.com/docusealco/docuseal
synced 2026-11-06 06:52:33 -05:00
fix pdf form fields
This commit is contained in:
1 parent
12c69578af
commit
ddd881a52f
1 file changed
+4
-4
@@ -42,10 +42,10 @@ module Templates
|
||||
|
||||
attrs = {
|
||||
page: page.index,
|
||||
x: x / page_width,
|
||||
y: transformed_y / page_height,
|
||||
w: w / page_width,
|
||||
h: h / page_height,
|
||||
x: x / page_width.to_f,
|
||||
y: transformed_y / page_height.to_f,
|
||||
w: w / page_width.to_f,
|
||||
h: h / page_height.to_f,
|
||||
attachment_uuid: attachment.uuid
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user