move the render of the partial outside of the form

Having it inside seems to cause the rendering to put the submit button outside of the form, meaning it does nothing when clicked on
Merge pull request #304 from adrianbanks/fix-session-deletion

Fix session deletion. This was reported by a user when trying to delete their session.

Having the render partial inside the form seems to cause the rendering to put the submit button outside of the form, meaning it does nothing when clicked on.