/**
  * Load the elements, starting with the extra top organization element and
  * continue with the other elements like in the standard login form
  *
  * @return \Gems_User_Form_LayeredLoginForm
  */
 public function loadDefaultElements()
 {
     // If not already set, set some defaults for organization elements
     if (is_null($this->topOrganizationDescription)) {
         $this->topOrganizationDescription = $this->translate->_('Organization');
     }
     if (is_null($this->childOrganizationDescription)) {
         $this->childOrganizationDescription = $this->translate->_('Department');
     }
     $this->getTopOrganizationElement();
     parent::loadDefaultElements();
     return $this;
 }
 /**
  * Function for overruling the display of the login form.
  *
  * @param \Gems_User_Form_LoginForm $form
  */
 protected function displayLoginForm(\Gems_User_Form_LoginForm $form)
 {
     $this->setCurrentOrganizationTo($form->getUser());
     $this->view->form = $form;
 }