Refactor to use plain GoStyleCamelCase instead of json_style_snake_case.

This commit is contained in:
Zed A. Shaw 2025-09-18 15:44:53 -04:00
parent 931c493928
commit 051474bdc9
12 changed files with 60 additions and 61 deletions

View file

@ -19,10 +19,10 @@
<th x-text="header"></th>
</template>
</tr>
<template x-for="item in contents" :key="item.id">
<template x-for="item in contents" :key="item.Id">
<tr class="table-row">
<td>
<a x-bind:href="'/admin/table/{{ .Table }}/' + item.id + '/'">
<a x-bind:href="'/admin/table/{{ .Table }}/' + item.Id + '/'">
#
</a>
</td>

View file

@ -16,7 +16,7 @@
</middle>
<bottom>
<button type="button"><a href="/admin/table/{{ .Table }}/">Back</a></button>
<button class="hover:btn-alert" type="button" @click.prevent="ConfirmDelete('{{ .Table }}', item.id)">Delete</button>
<button class="hover:btn-alert" type="button" @click.prevent="ConfirmDelete('{{ .Table }}', item.Id)">Delete</button>
<button class="hover:btn-hover" type="submit">Update</button>
</bottom>
</card>