Generates a html form with bootstrap styles from a database