Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderComponent ¶
RenderComponent takes the provided component and finds the relevant template and renders this into a string
Types ¶
type Component ¶
type Component interface { GetSection() string // render returns a html template string with the content of the field Render() string GetTemplateName() string GetTheme() string GetTemplate() *template.Template }
Component is anything that can be rendered on a page. A text field is a component but so is the form the text field is a part of.
Click to show internal directories.
Click to hide internal directories.