Fix up form so it works properly with bootstrap 3