Remove static ID from like checkbox
This commit is contained in:
parent
9d4d24aefc
commit
b489b15d8f
@ -28,13 +28,13 @@ const LikeDataEntry: React.FunctionComponent<any> = (props) => { // TODO: remove
|
||||
: "0 people like this building so far - you could be the first!"
|
||||
}
|
||||
</p>
|
||||
<label className="form-check-label">
|
||||
<input className="form-check-input" type="checkbox"
|
||||
id="like_check" name="like"
|
||||
name="like"
|
||||
checked={!!props.building_like}
|
||||
disabled={props.mode === 'view'}
|
||||
onChange={props.onLike}
|
||||
/>
|
||||
<label htmlFor="like_check" className="form-check-label">
|
||||
I like this building and think it contributes to the city!
|
||||
</label>
|
||||
</Fragment>
|
||||
|
Loading…
Reference in New Issue
Block a user