fix form templates
refactor bootstrap config