mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-12 17:51:20 +00:00
fixes to website, item (added table for cross listing), modules_setup and form_header
This commit is contained in:
@@ -123,6 +123,8 @@ def build_html(args):
|
||||
templates_path = os.path.join(os.path.dirname(conf.__file__),
|
||||
'app', 'website', 'templates')
|
||||
|
||||
args["len"] = len
|
||||
|
||||
jenv = Environment(loader = FileSystemLoader(templates_path))
|
||||
html = jenv.get_template(args['template']).render(args)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user