Created read only and edit views for events.