added a widget form class
small style fixes for forms