Move the Manage Cookbook code into a partial.