crossey_app/app/views/portlets/render_public/_downloadcontent.html.haml
2013-09-30 17:42:55 +02:00

12 lines
174 B
Plaintext

-if input.data_file
.portlet.download_content
=link_to input.title.to_s, input.data_file.file.url
-else
.portlet.download_content
=link_to input.title.to_s, ""