code refactor - used bootstrap class to style form instead of table