change position_type is required
add new template page
remove magic comment from all erb files