Omega template.php form alter I'm trying to edit default user login block.

I successfully changed it by creating custom block--user--login.tpl.php inside omega-starter/templates, but I don't want to write whole block code. I only want to change certain fields.

I tried to use this code in template.php :

function omega_starter_form_alter(&amp;$form, &amp;$form_state, $form_id) {
  if ($form['#id'] == 'user-login-form') {
    //dpm($form);
    $form['actions']['submit']['#value'] = t("Custom login button!");
  }
}


It doesn't make any changes. Please suggest a solution.
Sorry I checked your code again and found the answer , change your code to this :

function omega_starter_form_alter(&amp;$form, &amp;$form_state, $form_id) {
  if ($form['#id'] == 'user_login_form') { //form ID was changed
    //dpm($form);
    $form['actions']['submit']['#value'] = t("Custom login button!");
  }
}