cirandas.net

ref: master

app/views/profile_search/_uploaded_file.html.erb


<% if article.image? %>
  
  • <%= link_to image_tag(article.public_filename(:thumb), :alt => article.abstract, :title => article.abstract), article.view_url, :class => 'article-details' %>
  • <% else %>
  • <%= link_to article.title, article.view_url, :class => 'result-title' %>

    <%= link_to article.title, article.short_lead, :class => 'article-details' %>

    <%= link_to url_for(article.url), article.url, :class => 'article-url' %>
  • <% end %>