Scala-Play-Slick-Demo/app/views/index.scala.html
2020-05-16 15:40:23 +05:30

23 lines
459 B
HTML

@(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>
}