|
@@ -42,7 +42,7 @@ class site extends controller
|
|
'placeholder' => 'Email',
|
|
'placeholder' => 'Email',
|
|
'class' => 'step1'
|
|
'class' => 'step1'
|
|
),
|
|
),
|
|
- 'value' => $_COOKIE['login_email'] ?? ''
|
|
|
|
|
|
+ 'value' => $_COOKIE['login_email'] ?? ''
|
|
))
|
|
))
|
|
: new input('usuario', array(
|
|
: new input('usuario', array(
|
|
'rules' => array(
|
|
'rules' => array(
|
|
@@ -154,7 +154,10 @@ class site extends controller
|
|
$form = new form('register', array(
|
|
$form = new form('register', array(
|
|
new column(array(
|
|
new column(array(
|
|
new input('dispositivo', array(
|
|
new input('dispositivo', array(
|
|
- 'label' => '',
|
|
|
|
|
|
+ 'label' => '',
|
|
|
|
+ 'rules' => array(
|
|
|
|
+ 'required' => true
|
|
|
|
+ ),
|
|
'htmlOptions' => array(
|
|
'htmlOptions' => array(
|
|
'placeholder' => 'Dispositivo'
|
|
'placeholder' => 'Dispositivo'
|
|
)
|
|
)
|