}
protected function alterForm( HTMLForm $form ) {
+ $form->setDisplayFormat( 'vform' );
$form->setId( 'mw-changeemail-form' );
$form->setTableId( 'mw-changeemail-table' );
- $form->setWrapperLegendMsg( 'changeemail-header' );
+ $form->setWrapperLegend( false );
$form->setSubmitTextMsg( 'changeemail-submit' );
- $form->addButton( 'wpCancel', $this->msg( 'changeemail-cancel' )->text(),
- null, array( 'formnovalidate')
- );
$form->addHiddenField( 'returnto', $this->getRequest()->getVal( 'returnto' ) );
}