User edit

This commit is contained in:
Eden Kirin
2023-10-26 00:13:16 +02:00
parent 21607a5c48
commit 7024cd0de9
7 changed files with 134 additions and 23 deletions

View File

@ -1,10 +1,19 @@
{{ block usersTable(users) }}
<p>blablabla</p>
<table class="table">
<table class="table table-hover">
<thead>
<tr>
<th>ID</th>
<th>First name</th>
<th>Last name</th>
<th>Email</th>
</tr>
</thead>
<tbody>
{{ range users }}
<tr>
<td>
<a href="/users/{{ .Id }}">{{ .Id }}</a>
</td>
<td>{{ .FirstName }}</td>
<td>{{ .LastName }}</td>
<td>{{ .Email }}</td>