Jun 30 - Fix Admin can't edit user profile
This commit is contained in:
@@ -32,7 +32,7 @@
|
|||||||
<td class="text-muted">{{ u.created_at.strftime('%Y-%m-%d') if u.created_at else '—' }}</td>
|
<td class="text-muted">{{ u.created_at.strftime('%Y-%m-%d') if u.created_at else '—' }}</td>
|
||||||
<td class="actions">
|
<td class="actions">
|
||||||
<button class="btn btn-ghost btn-sm js-edit-user"
|
<button class="btn btn-ghost btn-sm js-edit-user"
|
||||||
data-user="{{ u|tojson|e }}">✎ Edit</button>
|
data-user='{{ u|tojson }}'>✎ Edit</button>
|
||||||
{% if u.email %}
|
{% if u.email %}
|
||||||
<button class="btn btn-ghost btn-sm js-send-reset"
|
<button class="btn btn-ghost btn-sm js-send-reset"
|
||||||
data-id="{{ u.id }}" data-username="{{ u.username }}" data-email="{{ u.email }}"
|
data-id="{{ u.id }}" data-username="{{ u.username }}" data-email="{{ u.email }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user