budgit/internal/ui/pages/space_create_account.templ
2026-05-03 18:47:43 +00:00

24 lines
799 B
Text

package pages
import "git.juancwu.dev/juancwu/budgit/internal/ui/forms"
import "git.juancwu.dev/juancwu/budgit/internal/ui/layouts"
type SpaceCreateAccountPageProps struct {
SpaceID string
SpaceName string
Form forms.CreateAccountProps
}
templ SpaceCreateAccountPage(props SpaceCreateAccountPageProps) {
@layouts.AppWithBreadcrumb("Create Account", spaceChildBreadcrumb(props.SpaceID, props.SpaceName, "Create Account"), spaceOverviewSidebarContent(), spaceSpecificSidebarContent(props.SpaceID)) {
<div class="container max-w-3xl px-6 py-8 mx-auto space-y-8">
<div>
<h1 class="text-3xl font-bold">Create Account</h1>
<p class="text-muted-foreground mt-2">
Add a new account to { props.SpaceName }.
</p>
</div>
@forms.CreateAccount(props.Form)
</div>
}
}