Refactor the partials used in the _form.html.erb template of the ProjectsController.