We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4420d85 + c231839 commit fd44ac0Copy full SHA for fd44ac0
examples/infinity-scrolling/main.go
@@ -23,27 +23,22 @@ func NewSubscribeFormPage() (admin.Pager, error) {
23
Type: icon.Email,
24
},
25
IsDefault: true,
26
- ID: "Subscribe",
27
- URL: "/subscribe",
+ ID: "Home",
+ URL: "/",
28
Type: admin.SideFormPage,
29
30
Form: admin.Form{
31
- ID: "subscribe",
+ ID: "Text",
32
Fields: admin.Fields{
33
admin.Field{
34
- ID: "email",
35
Type: admin.InputText,
36
- Label: "Email",
+ Label: "Text ...",
37
IsRequired: true,
38
Value: "",
39
FullWidth: true,
40
41
42
- Submit: admin.Submit{
43
- Label: "Subscribe",
44
45
- Method: "POST",
46
- },
47
48
}), nil
49
}
0 commit comments