adjust detection

pull/402/head
Pete Matsyburka 3 weeks ago
parent 453ebbf90a
commit 41f16e7d39

@ -75,7 +75,7 @@ module Templates
{ {
uuid: SecureRandom.uuid, uuid: SecureRandom.uuid,
type: f.type, type: f.type,
required: f.type != 'checkbox', required: f.type == 'signature',
preferences: {}, preferences: {},
areas: [{ areas: [{
x: f.x, x: f.x,
@ -128,7 +128,7 @@ module Templates
{ {
uuid: SecureRandom.uuid, uuid: SecureRandom.uuid,
type:, type:,
required: type != 'checkbox', required: type == 'signature',
preferences: {}, preferences: {},
areas: [{ areas: [{
x: field.x, y: field.y, x: field.x, y: field.y,

Loading…
Cancel
Save