add is_extension
This commit is contained in:
parent
41ad098514
commit
562d17c3ed
@ -26,6 +26,17 @@ const TeamView: React.FunctionComponent<CategoryViewProps> = (props) => (
|
|||||||
}
|
}
|
||||||
<li>Awards</li>
|
<li>Awards</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<SelectDataEntry
|
||||||
|
title={dataFields.is_extension.title}
|
||||||
|
slug="is_extension"
|
||||||
|
value={props.building.is_extension}
|
||||||
|
mode={props.mode}
|
||||||
|
copy={props.copy}
|
||||||
|
onChange={props.onChange}
|
||||||
|
tooltip={dataFields.is_extension.tooltip}
|
||||||
|
placeholder={dataFields.is_extension.example}
|
||||||
|
options={dataFields.is_extension.items}
|
||||||
|
/>
|
||||||
</Fragment>
|
</Fragment>
|
||||||
);
|
);
|
||||||
const TeamContainer = withCopyEdit(TeamView);
|
const TeamContainer = withCopyEdit(TeamView);
|
||||||
|
@ -636,6 +636,16 @@ export const dataFields = { /* eslint-disable @typescript-eslint/camelcase */
|
|||||||
year_demolished: { min: 1993, max: 1994 },
|
year_demolished: { min: 1993, max: 1994 },
|
||||||
lifespan: "2-5", overlap_present: "50%", links: ["", ""]}
|
lifespan: "2-5", overlap_present: "50%", links: ["", ""]}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
is_extension: {
|
||||||
|
category: Category.Team,
|
||||||
|
title: "Do you wish to add information on:",
|
||||||
|
tooltip: "",
|
||||||
|
example: "The main building",
|
||||||
|
items: [
|
||||||
|
"The main building",
|
||||||
|
"A major extension"
|
||||||
|
],
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user