legends are now displayed above an input field