I'm trying to create a dynamic list of URLs in Twirl template with Play with no luck. I can't seem to map over a collection to create list of URLs for some reason. This is what I have:
@casesCollection.map(e => {
<td><a href="/cases/@{e.get._id}/Search">@e.name</a></td>
})
The part within the href does not compile. Any ideas how this issue can be solved?