Code cleanup.

This commit is contained in:
mikestefanello 2025-04-20 13:32:23 -04:00
parent 38b65878f8
commit d672e8cb60
4 changed files with 29 additions and 13 deletions

View file

@ -13,7 +13,10 @@ import (
func AdminEntityDelete(r *ui.Request, entityTypeName string) Node {
return Form(
Method(http.MethodPost),
P(Class("subtitle"), Textf("Are you sure you want to delete this %s?", entityTypeName)),
P(
Class("subtitle"),
Textf("Are you sure you want to delete this %s?", entityTypeName),
),
ControlGroup(
FormButton("is-link", "Delete"),
ButtonLink(