This gets almost everything done, including Paging, but not search.

This commit is contained in:
Zed A. Shaw 2025-07-28 02:16:59 -04:00
parent da183c453c
commit 51b18823ae
7 changed files with 64 additions and 65 deletions

View file

@ -3,12 +3,12 @@
</script>
<blockstart>
<h1>Admin Tables</h1>
<h1><a href="/admin/table/{{ .Table }}/">&laquo;</a>Admin {{ .Table }}</h1>
<block x-init="item = await Data.oneThing()" x-data="{item: {}}">
<block x-data="Data">
<form method="POST" action="/api/admin/new/table/{{ .Table }}/">
<card>
<top><h2>{{ .Table }} : New</h2></top>
<top><h2>New {{ .Table }}</h2></top>
<middle>
<template x-for="(value, key) in item">
<div>