sutty/app/views/posts/attribute_ro/_file.haml

8 lines
231 B
Text
Raw Normal View History

2019-11-07 16:08:14 +00:00
%tr{ id: attribute }
%th= post_label_t(attribute, :path, post: post)
%td
- if metadata.value['path'].present?
%figure
= link_to url_for(metadata.static_file)
%figcaption= metadata.value['description']