diff --git a/internal/budget/template.templ b/internal/budget/template.templ index 2a59747..ca75080 100644 --- a/internal/budget/template.templ +++ b/internal/budget/template.templ @@ -2,6 +2,7 @@ package budget import ( "spend-sparrow/internal/core" + "spend-sparrow/internal/tag" "spend-sparrow/internal/template/svg" ) @@ -80,6 +81,8 @@ templ edit(budget Budget) { value={ budget.Value / 100 } class="bg-white input col-span-3" /> + + @tag.InlineEditInput("col-span-3")
+ + + Sparen + + + + Tanken + + +
+ +
+
+
+} + +templ inlineEditSearch(tags []Tag) { + for _,tag:=range(tags) { +

{ tag.Name }

+ } +} + templ page(tags []Tag) { @core.Breadcrumb([]string{"Home", "Tag"}, []string{"/", "/tag"})