2019-08-14 17:04:12 -04:00
|
|
|
import React, { Fragment } from 'react';
|
2019-08-14 14:33:26 -04:00
|
|
|
|
2019-08-14 16:54:00 -04:00
|
|
|
import withCopyEdit from '../data-container';
|
2019-08-14 14:33:26 -04:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Community view/edit section
|
|
|
|
*/
|
|
|
|
const CommunityView = (props) => (
|
2019-08-14 17:04:12 -04:00
|
|
|
<Fragment>
|
|
|
|
<p className="data-intro">{props.intro}</p>
|
|
|
|
<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>
|
2019-08-14 14:33:26 -04:00
|
|
|
)
|
|
|
|
const CommunityContainer = withCopyEdit(CommunityView);
|
|
|
|
|
|
|
|
export default CommunityContainer;
|