fix: Edit link navigates to the full tag edit page (was intercepted by hx-get inline); admin upload limits raised (12M via php -d) + FileUpload maxSize 10MB — fixes 'failed to upload' on phone photos

This commit is contained in:
2026-08-10 13:14:47 +10:00
parent e38128c33f
commit 23508fc468

View File

@@ -23,7 +23,7 @@
<td class="px-4 py-2">{{if .ItemType.Valid}}{{.ItemType.String}}{{else}}—{{end}}</td>
<td class="px-4 py-2 text-right">
{{if ne .Status "closed"}}
<a href="/account/tags/{{.ID}}/edit" hx-get="/account/tags/{{.ID}}/edit/inline" hx-target="closest tr" hx-swap="outerHTML" class="text-amber-600 hover:underline">Edit</a>
<a href="/account/tags/{{.ID}}/edit" class="text-amber-600 hover:underline">Edit</a>
{{end}}
<form hx-post="/account/tags/{{.ID}}/close" hx-target="#account-panel" hx-swap="outerHTML" hx-confirm="Close this tag? It will stop alerts but keep its details." class="inline">
<button class="ml-3 text-stone-500 hover:underline">Close</button>