From 14efee286fc49aaa344b368b0cf813e7768ab90e Mon Sep 17 00:00:00 2001 From: f Date: Fri, 3 Jan 2020 13:48:27 -0300 Subject: [PATCH] link de descarga del documento --- app/views/posts/attribute_ro/_file.haml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/views/posts/attribute_ro/_file.haml b/app/views/posts/attribute_ro/_file.haml index 55c086f5..a941839e 100644 --- a/app/views/posts/attribute_ro/_file.haml +++ b/app/views/posts/attribute_ro/_file.haml @@ -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)