change form markup to be compatible with bootstrap3