It looks like you're new here. If you want to get involved, click one of these buttons!
$fields['user_name'] = array('label' => lang('form_label_username_email'), 'label_layout' => 'top', 'required' => TRUE);
$fields['password'] = array('label' => lang('form_label_password'), 'type' => 'password', 'label_layout' => 'top', 'required' => TRUE);
Comments
$fields['user_name'] = array('label' => lang('form_label_username_email'), 'required' => TRUE); $fields['password'] = array('label' => lang('form_label_password'), 'type' => 'password', 'required' => TRUE); $this->_CI->form_builder->label_layout = 'top';
Of course, this isn't the entire form - there's a submit button, etc.