@(fortunes: List[Fortune])

@main() {
    <table>
        <tr>
            <th>id</th>
            <th>message</th>
        </tr>
        @for(fortune <- fortunes) {
        <tr>
            <td>@fortune.id</td>
            <td>@fortune.message</td>
        </tr>
        }
    </table>
}