12 lines
340 B
Plaintext
Executable File
12 lines
340 B
Plaintext
Executable File
<div class="col-sm-2">
|
|
<div class="thumbnail">
|
|
<% if resource.user %>
|
|
<span class="ownership">Owned by:<br/><%= resource.user.name %></span>
|
|
<% end %>
|
|
<%= link_to(resource) do %>
|
|
<%= image_tag(resource.picture.url(:thumb)) if resource.picture? %>
|
|
<h4><%=h resource.name %></h4>
|
|
<% end %>
|
|
</div>
|
|
</div>
|