<% @extensions.each do |extension| %>

<%=link_to extension.title, extension %>

Author: <%= extension.author %>

<%=image_tag extension.preview.thumb.url%>

<%=link_to 'Download', extension.extension.url, :class=> 'btn btn-success'%>

<%= link_to 'View details »'.html_safe ,extension, :class=>"btn btn-primary"%>

<%end%>