This is after modifying the form class and the caegory view to add support for the database table as an argument