ual_app/app/views/portlets.old/render_public/_downloadcontent.html.haml
2014-08-24 00:18:02 +02:00

12 lines
192 B
Plaintext

-if input.data_file
.portlet.download_content
=link_to ic(:download)+" "+input.title.to_s, input.data_file.file.url
-else
.portlet.download_content
=link_to input.title.to_s, ""