Welcome to { space.Name }!
- @dialog.Dialog(dialog.Props{ ID: "invite-member-dialog" }) {
+ @dialog.Dialog(dialog.Props{ID: "invite-member-dialog"}) {
@dialog.Trigger() {
@button.Button() {
Invite Member
@@ -22,7 +22,9 @@ templ SpaceDashboardPage(space *model.Space, lists []*model.ShoppingList, tags [
}
@dialog.Content() {
@dialog.Header() {
- @dialog.Title() { Invite Member }
+ @dialog.Title() {
+ Invite Member
+ }
@dialog.Description() {
Send an invitation email to add a new member to this space.
}
@@ -36,14 +38,14 @@ templ SpaceDashboardPage(space *model.Space, lists []*model.ShoppingList, tags [
@input.Input(input.Props{
- Name: "email",
- ID: "email",
- Type: "email",
+ Name: "email",
+ ID: "email",
+ Type: "email",
Attributes: templ.Attributes{"required": "true"},
})
- @button.Button(button.Props{ Type: button.TypeSubmit }) {
+ @button.Button(button.Props{Type: button.TypeSubmit}) {
Send Invitation
}
@@ -51,7 +53,6 @@ templ SpaceDashboardPage(space *model.Space, lists []*model.ShoppingList, tags [
}
}
// Shopping Lists section
@@ -82,4 +83,5 @@ templ SpaceDashboardPage(space *model.Space, lists []*model.ShoppingList, tags [