baobab.view #
View
Functions to create HTML View Components for Baobab Base Objects.
fn filter_object_form #
fn filter_object_form[T](endpoint string) string
fn list_object_page #
fn list_object_page[U](u []U, routes ObjectRoutes) Page
fn list_objectsection #
fn list_objectsection[U](u []U) Section
fn new_object_form #
fn new_object_form[T]() string
fn new_object_page #
fn new_object_page[T]() Page
struct ObjectRoutes #
struct ObjectRoutes {
pub mut:
object_route string
new_object_route string
filter_object_route string
edit_object_route fn (string) string
object_page_route fn (string) string
}
struct Response #
struct Response {
target string
html string
}