From 3deb4f959581d7b7b07ef48ed2662fa64faf1646 Mon Sep 17 00:00:00 2001 From: Arthur Belleville Date: Sun, 17 May 2026 16:33:02 +0200 Subject: [PATCH] feat(19-03): add view toggle button to TablosDashboard - Add plain + @ui.Button(ui.ButtonProps{ + Label: "New tablo", + Variant: ui.ButtonVariantDefault, + Tone: ui.ButtonToneSolid, + Size: ui.SizeMD, + Type: "button", + Attrs: templ.Attributes{ + "hx-get": "/tablos/new", + "hx-target": "#create-form-slot", + "hx-swap": "innerHTML", + }, + }) +
-
+
if len(cards) == 0 { @TablosEmptyState() } else {