Add land use hints

This commit is contained in:
Maciej Ziarkowski 2020-03-23 23:33:03 +00:00
parent 87f16398f2
commit 853c558b37
2 changed files with 6 additions and 2 deletions

View File

@ -15,6 +15,7 @@ const UseView: React.FunctionComponent<CategoryViewProps> = (props) => (
<Fragment>
<MultiDataEntry
title={dataFields.current_landuse_group.title}
tooltip={dataFields.current_landuse_group.tooltip}
slug="current_landuse_group"
value={props.building.current_landuse_group}
mode={props.mode}
@ -27,6 +28,7 @@ const UseView: React.FunctionComponent<CategoryViewProps> = (props) => (
/>
<DataEntry
title={dataFields.current_landuse_order.title}
tooltip={dataFields.current_landuse_order.tooltip}
slug="current_landuse_order"
value={props.building.current_landuse_order}
mode={props.mode}

View File

@ -155,11 +155,13 @@ export const dataFields = {
current_landuse_group: {
category: Category.LandUse,
title: "Current Land Use (Group)"
title: "Current Land Use (Group)",
tooltip: "A list of Land Use Groups for the current land use, according to the [National Land Use Database](https://www.gov.uk/government/statistics/national-land-use-database-land-use-and-land-cover-classification)"
},
current_landuse_order: {
category: Category.LandUse,
title: "Current Land Use (Order)"
title: "Current Land Use (Order)",
tooltip: "Land Use Order for the current land use, according to the [National Land Use Database](https://www.gov.uk/government/statistics/national-land-use-database-land-use-and-land-cover-classification)"
},
building_attachment_form: {