auto generate editable view