fix typo
This commit is contained in:
@@ -8,10 +8,10 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="container mx-auto p-4">
|
<div class="container mx-auto p-4">
|
||||||
<h1 class="text-2xl font-bold mb-4">User Management</h1>
|
<h1 class="mb-4 text-2xl font-bold">User Management</h1>
|
||||||
|
|
||||||
{#if hasPermission($user, 'membership.create')}
|
{#if hasPermission($user, 'membership.create')}
|
||||||
<div class="flex justify-end mb-4">
|
<div class="mb-4 flex justify-end">
|
||||||
<button class="btn btn-primary">Create User</button>
|
<button class="btn btn-primary">Create User</button>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
@@ -32,7 +32,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td>{user.username}</td>
|
<td>{user.username}</td>
|
||||||
<td>{user.role.name}</td>
|
<td>{user.role.name}</td>
|
||||||
{#if hasPermission($user, 'membership.edit')}
|
{#if hasPermission(user, 'membership.edit')}
|
||||||
<td>
|
<td>
|
||||||
<button class="btn btn-sm">Edit</button>
|
<button class="btn btn-sm">Edit</button>
|
||||||
<button class="btn btn-sm btn-error">Delete</button>
|
<button class="btn btn-sm btn-error">Delete</button>
|
||||||
|
|||||||
Reference in New Issue
Block a user