1
0
mirror of https://github.com/astaxie/beego.git synced 2025-07-04 03:00:18 +00:00

Add renderform template function

This commit is contained in:
miraclesu
2013-08-10 16:33:46 +08:00
parent e47b2b677d
commit 9e1d5036f7
3 changed files with 93 additions and 2 deletions

View File

@ -31,6 +31,7 @@ func init() {
beegoTplFuncMap["str2html"] = Str2html
beegoTplFuncMap["htmlquote"] = Htmlquote
beegoTplFuncMap["htmlunquote"] = Htmlunquote
beegoTplFuncMap["renderform"] = RenderForm
}
// AddFuncMap let user to register a func in the template