package templates import ( "strconv" "git.bronku.xyz/bronku/cake-order-tracker/models" ) templ CakePage(cake models.Cake, allTags []models.Tag) { @Layout(CakeTitle(cake), CakeForm(cake, allTags)) } templ CakeForm(cake models.Cake, allTags []models.Tag) {

cake if cake.ID != 0 { Edytuj ciasto #{ strconv.Itoa(cake.ID) } } else { Nowe ciasto }

for _, t := range allTags { }
Anuluj
}