budgit/internal/ui/pages/space_create_recurring_event.templ
juancwu 448b6f6262
All checks were successful
Deploy / build-and-deploy (push) Successful in 1m36s
feat: recurring transactions
2026-05-04 04:42:22 +00:00

29 lines
863 B
Text

package pages
import "git.juancwu.dev/juancwu/budgit/internal/ui/forms"
import "git.juancwu.dev/juancwu/budgit/internal/ui/layouts"
type SpaceCreateRecurringEventPageProps struct {
SpaceID string
SpaceName string
Form forms.RecurringEventFormProps
}
templ SpaceCreateRecurringEventPage(props SpaceCreateRecurringEventPageProps) {
@layouts.AppWithBreadcrumb(
"New Recurring",
spaceChildBreadcrumb(props.SpaceID, props.SpaceName, "New Recurring"),
spaceOverviewSidebarContent(),
spaceSpecificSidebarContent(props.SpaceID),
) {
<div class="container max-w-3xl px-6 py-8 mx-auto space-y-6">
<div>
<h1 class="text-3xl font-bold">New Recurring Event</h1>
<p class="text-muted-foreground mt-2">
Schedule a bill, fund, or transfer to repeat automatically.
</p>
</div>
@forms.RecurringEventForm(props.Form)
</div>
}
}