gdoteof/election — Issue #5: Use Tables for Ballot Item Results
Author: bradley-holt
Created: 2012-01-24 17:51:17+00:00
State: open

### Description

Please use tables for ballot item results instead of unordered lists.

### Steps to Reproduce

curl 'https://example.org/town-meeting-season-2011/town-meeting-day-2011/ward-1/ward-1-city-council' \
-H 'Accept: text/html'

### Actual Results

```html
…

Sharon Bushor (I)
416 (100.0%)

…
```

### Expected Results

```html
…

Candidate
Votes
Percent

Sharon Bushor (I)
416
100.0

…
```

### Additional Comments

Although the original API requirements used unordered lists for ballot item results, these results are really tabular data. Note that the `
` row within the `
` must match the exact structure as the `
` rows within the `
` (swapping `	` elements for `	` elements) as this header row will be used as a template when updating results in JavaScript. There may be other changes to the exact HTML structure of the table in the future.