diff --git a/src/backend/app/projects/project_routes.py b/src/backend/app/projects/project_routes.py index 161811939..ad72c27ff 100644 --- a/src/backend/app/projects/project_routes.py +++ b/src/backend/app/projects/project_routes.py @@ -1023,7 +1023,6 @@ async def update_project_form( project.odkid, xlsform, category, - len(project.tasks), odk_creds, ) diff --git a/src/frontend/src/components/ManageProject/EditTab/FormUpdateTab.tsx b/src/frontend/src/components/ManageProject/EditTab/FormUpdateTab.tsx index 0f44d6b98..78bbfec8b 100644 --- a/src/frontend/src/components/ManageProject/EditTab/FormUpdateTab.tsx +++ b/src/frontend/src/components/ManageProject/EditTab/FormUpdateTab.tsx @@ -71,24 +71,28 @@ const FormUpdateTab = ({ projectId }) => { {`if uploading the final submissions to OSM.`}
-- Please{' '} - - dispatch( - DownloadProjectForm( - `${import.meta.env.VITE_API_URL}/projects/download-form/${projectId}/`, - 'form', - projectId, - ), - ) - } - > - download - {' '} - {`your form, modify it, before re-uploading below:`} -
+⚠️ IMPORTANT ⚠️
++ Please{' '} + + dispatch( + DownloadProjectForm( + `${import.meta.env.VITE_API_URL}/projects/download-form/${projectId}/`, + 'form', + projectId, + ), + ) + } + > + download + {' '} + {`your form and modify it, before re-uploading below.`} +
+Do not upload the original form, as it has since been updated.
+