I have used default user login block on top navigation. I need to load another log in form on some pages.
I am trying to load the form by
drupal_get_form('user-login')
I get the following error:
Notice: Undefined index: user-login in drupal_retrieve_form() (line 763 of /path/to/drupal/includes/form.inc). Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'user-login' not found or invalid function name in drupal_retrieve_form() (line 798 of /path/to/drupal/includes/form.inc).
Is it possible to load a second log in form? (Drupal 7)