added a partial template for my views
edited the new and edit views for each controller to work with the new partial template