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

7 lines
220 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-02-20 16:02:34 +00:00
= link_to t('.download'), url_for(metadata.static_file)
%p= metadata.value['description']