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