<div class="field-template" {{ field_attributes(df) }}>
	{% set template = xhiveframework.db.get_value('Print Format Field Template', df.field_template, ['template', 'template_file', 'standard'], as_dict=1) %}
	{{ xhiveframework.render_template(template.template_file if template.standard else template.template, {'doc': doc}) }}
</div>
