Added readonly if edit on entity type form