improve form template for bootstrap