Now can do all CRUD and just need search and pagination.
This commit is contained in:
parent
b0ba0c7e16
commit
e178ca6733
5 changed files with 62 additions and 10 deletions
|
@ -7,12 +7,13 @@
|
|||
<h1>Admin Tables</h1>
|
||||
|
||||
<block x-data="Tables">
|
||||
<button type="button"><a href="/admin/new/table/{{ .Table }}/">New</a></button>
|
||||
<table>
|
||||
<template x-for="item in theData">
|
||||
<tr>
|
||||
<td>
|
||||
<a x-bind:href="'/admin/table/{{ .Table }}/' + item.id + '/'">
|
||||
^
|
||||
#
|
||||
</a>
|
||||
</td>
|
||||
<template x-for="(value, key) in item">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue