Created a form partial for my posts controller and set up some before actions.
Created a categories controller. Added new category model back form. Updated views and created a form and errors partial.