descargar el archivo subido

This commit is contained in:
f 2020-02-20 13:02:34 -03:00
parent 5392f9a942
commit a43080a368
No known key found for this signature in database
GPG key ID: 2AE5A13E321F953D
3 changed files with 8 additions and 1 deletions

View file

@ -2,4 +2,5 @@
%th= post_label_t(attribute, :path, post: post)
%td
- if metadata.value['path'].present?
= link_to metadata.value['description'], url_for(metadata.static_file)
= link_to t('.download'), url_for(metadata.static_file)
%p= metadata.value['description']

View file

@ -347,6 +347,9 @@ en:
en: 'English'
ar: 'Arabic'
posts:
attribute_ro:
file:
download: Download file
show:
front_matter: Post metadata
submit:

View file

@ -355,6 +355,9 @@ es:
en: 'inglés'
ar: 'árabe'
posts:
attribute_ro:
file:
download: Descargar archivo
show:
front_matter: Metadatos del artículo
submit: