|
@@ -93,7 +93,7 @@ class usuario extends controller
|
|
{
|
|
{
|
|
$this->webApp()->requireLogin();
|
|
$this->webApp()->requireLogin();
|
|
|
|
|
|
- $form = new form('usuario', array(
|
|
|
|
|
|
+ $form = new form('usuarioForm', array(
|
|
|
|
|
|
new column(array(
|
|
new column(array(
|
|
|
|
|
|
@@ -133,9 +133,9 @@ class usuario extends controller
|
|
'gridId' => "usuarios"
|
|
'gridId' => "usuarios"
|
|
));
|
|
));
|
|
|
|
|
|
- if (isset($_POST['usuario'])) {
|
|
|
|
|
|
+ if (isset($_POST['usuarioForm'])) {
|
|
|
|
|
|
- $form->setAtributes($_POST['usuario']);
|
|
|
|
|
|
+ $form->setAtributes($_POST['usuarioForm']);
|
|
|
|
|
|
if ($form->validate()) {
|
|
if ($form->validate()) {
|
|
|
|
|