Code cleanup.
This commit is contained in:
parent
38b65878f8
commit
d672e8cb60
4 changed files with 29 additions and 13 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue