$context = new DerivativeContext( $this->getContext() );
$context->setTitle( $this->getPageTitle() ); // Remove subpage
$form = HTMLForm::factory( 'ooui', $fields, $context );
- $form->setMethod( 'get' );
- $form->setWrapperLegendMsg( 'ipblocklist-legend' );
- $form->setSubmitTextMsg( 'ipblocklist-submit' );
- $form->setSubmitProgressive();
- $form->prepareForm();
+ $form
+ ->setMethod( 'get' )
+ ->setWrapperLegendMsg( 'ipblocklist-legend' )
+ ->setSubmitTextMsg( 'ipblocklist-submit' )
+ ->setSubmitProgressive()
+ ->prepareForm()
+ ->displayForm( false );
- $form->displayForm( '' );
$this->showList( $pager );
}