Fix resource edit page.

Makes it possible to add/edit multiple resources
via web UI again.