Rev 211 | AutorÃa | Comparar con el anterior | Ultima modificación | Ver Log |
<?php
declare(strict_types=1);
namespace LeadersLinked\Form\Auth;
use Laminas\Form\Form;
class SigninDebugForm extends Form
{
/**
*
* @param array $config
*/
public function __construct($config)
{
parent::__construct();
$this->setInputFilter(new SigninDebugFilter());
$this->add([
'name' => 'email',
'type' => \Laminas\Form\Element\Text::class,
'attributes' => [
'maxlength' => 250,
'id' => 'email',
]
]);
$this->add([
'name' => 'password',
'type' => \Laminas\Form\Element\Password::class,
'attributes' => [
'maxlength' => 25,
'id' => 'password',
]
]);
$this->add([
'name' => 'remember',
'type' => \Laminas\Form\Element\Checkbox::class,
'attributes' => [
'id' => 'remember',
],
'options' => [
'use_hidden_element' => false,
'unchecked_value' => '0',
'checked_value' => '1',
]
]);
}
}