Pass instance to the edit template's context

Having an instance in the context by default helps greatly, if you customize the `edit_template`.