PLEASE put form actions in an
'actions' wrapper and give them names. Docs: http://api.drupal.org/api/drupal/developer%21topics%21forms_api_referenc...
- The buttons are now combined and weightable together
- Themes (and the Form system) can position them correctly
- Extending modules will know what to alter
This is just horrible:
$form = array(
'#type' => 'submit',
'#value' => t('Delete'),
'#validate' => array('nodequeue_edit_queue_form_delete_validate'),
'#submit' => array('nodequeue_edit_queue_form_delete_submit'),
It doesn't even have a name! How are other modules supposed to hook into it?
|PASSED: [[SimpleTest]]: [MySQL] 0 pass(es).|
|FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch form-element-names.patch. Unable to apply patch. See the log in the details link for more information.|
|FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch form-buttons.patch. Unable to apply patch. See the log in the details link for more information.|