%tr{ id: attribute } %th= post_label_t(attribute, :path, post: post) %td - if metadata.value['path'].present? %figure = image_tag metadata.value['path'], alt: metadata.value['description'] %figcaption= metadata.value['description']