helpr (version 0.2.0)

render_snippet: Render HTML Snippet.

Description

Render HTML Snippet.

Usage

render_snippet(template, params = NULL, path = router_file_path())

Arguments

template
name of file to use in the folder "views"
params
list containing objects to be sent to the template
path
path to be used to find the "views" folder

Value

text rendered from the template