Commit 47eafdbe authored by Sylvain's avatar Sylvain

Field Honeypot bug d'affichage

parent 970d7a97
......@@ -227,18 +227,18 @@ class Field
'name' => 'my-name',
'class' => 'd-none'
]);
$input = $field->renderInput();
$render1 = $field->renderWrapFieldEnvironment($input);
$input1 = $field->renderInput();
$render1 = $field->renderWrapFieldEnvironment($input1);
$field = new FieldBt4([
'name' => 'my-time',
'class' => 'd-none',
'value' => encrypt(time())
]);
$input = $field->renderInput();
$render2 = $field->renderWrapFieldEnvironment($input);
$input2 = $field->renderInput();
$render2 = $field->renderWrapFieldEnvironment($input2);
return $field->renderHTML($render1 . $render2);
return $field->renderHTML($input1 . $input2);
}
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment