form->csrf() ?> form->hidden('id', $values) ?> form->hidden('username', $values) ?> hook->render('template:user:authentication:form', array('values' => $values, 'errors' => $errors, 'user' => $user)) ?> form->checkbox('is_ldap_user', t('Remote user'), 1, isset($values['is_ldap_user']) && $values['is_ldap_user'] == 1) ?> form->checkbox('disable_login_form', t('Disallow login form'), 1, isset($values['disable_login_form']) && $values['disable_login_form'] == 1) ?>
url->link(t('cancel'), 'UserViewController', 'show', array('user_id' => $user['id'])) ?>