Archived
1
0
Fork 0

app/views/backend/user/index.volt: adding edit link

This commit is contained in:
Henrik Hautakoski 2019-12-03 00:27:44 +01:00
parent 691632a31f
commit adaf80d967
No known key found for this signature in database
GPG key ID: 96765B12FEAC4745

View file

@ -5,6 +5,7 @@
<thead> <thead>
<tr> <tr>
<th>&nbsp;</th>
<th>#</th> <th>#</th>
<th>Username</th> <th>Username</th>
<th>Name</th> <th>Name</th>
@ -17,6 +18,11 @@
<tbody> <tbody>
{% for item in page.items %} {% for item in page.items %}
<tr> <tr>
<td>
<a title="Edit" href="{{ url(['for': 'backend-user-edit', 'id': item.id ]) }}">
{{ icon('solid/pen') }}
</a>
</td>
<td>{{ item.id }}</td> <td>{{ item.id }}</td>
<td>{{ item.username }}</td> <td>{{ item.username }}</td>
<td>{{ item.name }}</td> <td>{{ item.name }}</td>