added more erb's to allow edit