Created a view for the edit page