package addview import "github.com/tigorlazuardi/redmage/views" import "github.com/tigorlazuardi/redmage/views/components" templ Addview(c *views.Context) { @components.Doctype() { @components.Head(c, components.HeadTitle("Redmage - Subreddits")) @components.Body(c) { @AddviewContent(c) @components.NotificationContainer() } } } templ AddviewContent(c *views.Context) {
@components.Container() {

Add Subreddit

@SubredditInputForm(SubredditInputData{}) @SubredditTypeInput(SubredditTypeData{})
@scheduleInputContainer()
@CountbackInput(CountbackInputData{})
}
}