{function name="print_caption"} {$propertyEditor->property()->get_docprop_name()}: {if $debug} (?) {/if} {/function} {function name="print_control"} {$propertyEditor->renderControl()} {/function} {if !$caption} {capture assign=caption} {call "print_caption"} {/capture} {/if} {if !$control} {capture assign=control} {call "print_control"} {/capture} {/if}