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

6 lines
195 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?
2020-01-03 16:48:27 +00:00
= link_to metadata.value['description'], url_for(metadata.static_file)