[WIP]form snippets adapted to bootstrap

need to compare the code with bootstrap and adapt all comments properly