Form template fixes for bootstrap 3