Community view-only notes

This commit is contained in:
Tom Russell 2019-08-14 22:04:12 +01:00
parent f3fb8f12e0
commit 19d08c9c97

View File

@ -1,15 +1,31 @@
import React from 'react'; import React, { Fragment } from 'react';
import withCopyEdit from '../data-container'; import withCopyEdit from '../data-container';
import DataEntry from '../data-components/data-entry';
/** /**
* Community view/edit section * Community view/edit section
*/ */
const CommunityView = (props) => ( const CommunityView = (props) => (
<dl className="data-list"> <Fragment>
<p className="data-intro">{props.intro}</p>
</dl> <ul className="data-list">
<li>Is this a publicly owned building?</li>
{
// "slug": "community_publicly_owned",
// "type": "checkbox"
}
<li>Has this building ever been used for community or public services activities?</li>
{
// "slug": "community_past_public",
// "type": "checkbox"
}
<li>Would you describe this building as a community asset?</li>
{
// "slug": "community_asset",
// "type": "checkbox"
}
</ul>
</Fragment>
) )
const CommunityContainer = withCopyEdit(CommunityView); const CommunityContainer = withCopyEdit(CommunityView);