app/views/backend/user/index.volt: adding edit link
This commit is contained in:
parent
691632a31f
commit
adaf80d967
1 changed files with 6 additions and 0 deletions
|
|
@ -5,6 +5,7 @@
|
||||||
|
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
<th> </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>
|
||||||
|
|
|
||||||
Reference in a new issue