feat: working on detail views.
This commit is contained in:
14
Resources/Views/users/table-row.leaf
Normal file
14
Resources/Views/users/table-row.leaf
Normal file
@@ -0,0 +1,14 @@
|
||||
<tr id="user_#(id)">
|
||||
<td>#(username)</td>
|
||||
<td>#(email)</td>
|
||||
<td style="width: 50px;">
|
||||
<button hx-get="/users/#(id)"
|
||||
hx-target="#user-detail"
|
||||
hx-swap="outerHTML swap:0.5s"
|
||||
hx-push-url="true"
|
||||
class="btn btn-detail"
|
||||
>
|
||||
›
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
Reference in New Issue
Block a user