Revert "remove <form>"

This reverts commit 7d0889cc4b.
This commit is contained in:
Ed Chalstrey 2022-06-06 10:45:03 +01:00
parent 7d0889cc4b
commit 3ed3d6f689

View File

@ -19,6 +19,7 @@ const TeamView: React.FunctionComponent<CategoryViewProps> = (props) => {
const currentYear = new Date().getFullYear();
const currentBuildingConstructionYear = building.date_year || undefined;
return (
<form>
<InfoBox msg="Can you help us capture information on who built the current building?"></InfoBox>
<SelectDataEntry
title={dataFields.is_extension.title}
@ -131,6 +132,7 @@ const TeamView: React.FunctionComponent<CategoryViewProps> = (props) => {
onChange={props.onChange}
mode={props.mode}
/>
</form>
);
};
const TeamContainer = withCopyEdit(TeamView);