Sha256: 70bf91687be8326306ca0f9670ebb0ee44d61f33decdb2856b8249ec2c4a3ccd

Contents?: true

Size: 534 Bytes

Versions: 13

Compression:

Stored size: 534 Bytes

Contents

<h2><%= content_node.class.name.titleize %> <%= title %></h2>
<ul class="asset-list" id="<%= title.parameterize %>-list">
<% for asset in assets -%>
  <li id="asset-<%= asset.id %>" class="<%= asset.content_type.gsub('/','-') %>">
<% if asset.content_type =~ /image/ -%>
    <%= render :partial => "admin/assets/image", :locals => { :asset => asset, :for_content => false } %>
<% else -%>
    <%= render :partial => "admin/assets/document", :locals => { :asset => asset, :for_content => false } %>
<% end -%>
  </li>
<% end -%>
</ul>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
beef-has_assets-0.7.12 app/views/admin/assets/_list.html.erb
beef-has_assets-0.7.11 app/views/admin/assets/_list.html.erb
beef-has_assets-0.7.10 app/views/admin/assets/_list.html.erb
beef-has_assets-0.7.9 app/views/admin/assets/_list.html.erb
beef-has_assets-0.7.8 app/views/admin/assets/_list.html.erb
beef-has_assets-0.7.7 app/views/admin/assets/_list.html.erb
beef-has_assets-0.7.6 app/views/admin/assets/_list.html.erb
beef-has_assets-0.7.5 app/views/admin/assets/_list.html.erb
beef-has_assets-0.7.4 app/views/admin/assets/_list.html.erb
beef-has_assets-0.7.3 app/views/admin/assets/_list.html.erb
beef-has_assets-0.7.2 app/views/admin/assets/_list.html.erb
beef-has_assets-0.7.1 app/views/admin/assets/_list.html.erb
beef-has_assets-0.7.0 app/views/admin/assets/_list.html.erb