adjust detection
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user