{{#if (and fields.name fields.img)}}
{{else if fields.img}}
{{formGroup fields.img value=source.img rootId=rootId}}
{{else if fields.name}}
{{formGroup fields.name value=source.name rootId=rootId}}
{{/if}}
{{#if descriptionHTML}}
{{/if}}
{{#if (not (or fields.name fields.img descriptionHTML))}}
{{document.documentName}}
{{document.uuid}}
{{/if}}