Initial content

This commit is contained in:
Adam Freeman
2024-05-29 18:54:49 +01:00
parent 2dbc1a8088
commit 5215a1d919
1944 changed files with 203378 additions and 0 deletions
@@ -0,0 +1,37 @@
<form class="m-2">
<table class="table table-sm table-striped">
<thead>
<tr>
<th>ID</th><th>Name</th><th>Age</th><th>Years</th>
<th>Next Age</th><th></th>
</tr>
</thead>
<tbody>
{{#unless data }}<tr><td colspan="5">No Data</td></tr>{{/unless }}
{{#each data }}
<tr>
<td>{{ this.id }} </td>
<td>{{ this.name }} </td>
<td>{{ this.age }} </td>
<td>{{ this.years }} </td>
<td>{{ this.nextage }} </td>
<td>
<button class="btn btn-danger btn-sm"
formmethod="post"
formaction="/form/delete/{{this.id}}">
Delete
</button>
</td>
</tr>
{{/each }}
</tbody>
</table>
<button class="btn btn-primary"
formmethod="post"
formaction="/form/add">
Add
</button>
<input type="hidden" name="name" value="Alice" />
<input type="hidden" name="age" value="40" />
<input type="hidden" name="years" value="10" />
</form>