package admin import "fmt" templ (a *AdminPlugin) page() {

App Pass

} templ (a *AdminPlugin) showPassword(entry PassEntry) {

New Entry

ID: { fmt.Sprintf(" %d", entry.ID) }

Password: { entry.Secret }:{ entry.Pass }

} templ (a *AdminPlugin) entries(items []PassEntry) {

Entry List

if len(items) == 0 {

No items

} } templ renderError(err error) {
{ err.Error() }
} templ vars(items []configEntry) {

Variables

for _, item := range items { } if len(items) == 0 { }
Key Value
{ item.Key }{ item.Value }
No data
}