Moving resources to partials

DRYing up some of the view code. You can also add a new resource via the app, and the form_for a resource has been moved into a partial.
Belongs in a helper