[print format builder] added jinja help

This commit is contained in:
Rushabh Mehta 2015-05-04 12:09:23 +05:30
parent 5a8621df09
commit f9ebc77919

View file

@ -538,6 +538,14 @@ frappe.PrintFormatBuilder = Class.extend({
fieldname: "content",
fieldtype: "Text Editor",
label: label
},
{
fieldname: "help",
fieldtype: "HTML",
options: '<p>'
+ __("You can add dynamic properties from the document by using Jinja templating.")
+ __("For example: If you want to include the document ID, use {0}", ["<code>{{ doc.name }}</code>"])
+ '</p>'
}
]
});