- <tr>
- <td>Computed Postcode</td>
- <td>{aPlace.calculated_postcode}</td>
- </tr>
- <tr>
- <td>Address Tags</td>
- <td>
- {#each Object.keys(aPlace.addresstags) as name}
- <div class="line">
- <span class="name">{aPlace.addresstags[name]}</span> ({name})
- </div>
- {/each}
- </td>
- </tr>
- <tr>
- <td>Extra Tags</td>
- <td>
- {#each Object.keys(aPlace.extratags) as name}
- <div class="line">
- <span class="name">{aPlace.extratags[name]}</span> ({name})
- </div>
- {/each}
- </td>
- </tr>
+ <InfoRow title="Computed Postcode">
+ {#if aPlace.calculated_postcode}
+ {aPlace.calculated_postcode}
+ <DetailsPostcodeHint postcode={aPlace.calculated_postcode} lat={aPlace.centroid.coordinates[1]} lon={aPlace.centroid.coordinates[0]} />
+ {/if}
+ </InfoRow>
+ <InfoRow title="Address Tags"><InfoRowList items={aPlace.addresstags} /></InfoRow>
+ <InfoRow title="Extra Tags"><InfoRowList items={aPlace.extratags} /></InfoRow>