link de descarga del documento

This commit is contained in:
f 2020-01-03 13:48:27 -03:00
parent 362cbe1350
commit 14efee286f
No known key found for this signature in database
GPG key ID: 2AE5A13E321F953D

View file

@ -2,6 +2,4 @@
%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']
= link_to metadata.value['description'], url_for(metadata.static_file)