creating a petition content type and view