updated pages form with bootstrap styling