- $htmlForm = HTMLForm::factory( 'inline', $formDescriptor, $this->getContext() );
- $htmlForm->setWrapperLegendMsg( 'withoutinterwiki-legend' )
+ $htmlForm = HTMLForm::factory( 'ooui', $formDescriptor, $this->getContext() );
+ $htmlForm->setWrapperLegend( '' )