2019-08-14 21:19:01 +00:00
|
|
|
%tr{ id: attribute }
|
|
|
|
%th= post_label_t(attribute, :path, post: post)
|
|
|
|
%td
|
2019-08-20 21:59:54 +00:00
|
|
|
- if metadata.value['path'].present?
|
|
|
|
%figure
|
2019-08-22 01:09:29 +00:00
|
|
|
= image_tag url_for(metadata.static_file),
|
|
|
|
alt: metadata.value['description'],
|
|
|
|
class: 'img-fluid'
|
2020-05-23 18:42:12 +00:00
|
|
|
%figcaption{ dir: dir, lang: locale }= metadata.value['description']
|