Scala-Play-Slick-Demo/app/views/index.scala.html

23 lines
459 B
HTML
Raw Normal View History

2020-05-16 10:10:23 +00:00
@(users: Seq[User])
@main("Title Page") {
<h2>Users</h2>
<table>
<tr>
<th>Id</th>
<th>Email</th>
<th>Created At</th>
<th>Updated At</th>
</tr>
@for(user <- users){
<tr>
<td>@user.id</td>
<td>@user.email</td>
<td>@user.createdAt</td>
<td>@user.updatedAt</td>
</tr>
}
</table>
}