<%% title "<%=child_plural_class_name%>" %> <%%= stylesheet( 'dust_<%=parent_singular_name%>','<%=parent_singular_name%>_uploadify') %> <%%= javascript( 'uploadify/jquery.uploadify.v2.1.0' ) %>
<%%= render :partial => 'search' %>
<%%= will_paginate @<%=child_plural_name%> %> <%% @<%=child_singular_name%>_<%=parent_plural_name%>.sort.each do |title, <%=child_plural_name%>| %>

<%%= link_to title, <%=parent_singular_name%>_path(<%=child_plural_name%>.first.<%=parent_singular_name%>) %>

<%% form_for :<%=child_singular_name%>, :url => {:action => 'destroy'} do %> <%% for <%=child_singular_name%> in <%=child_plural_name%> %> <%%= hidden_field_tag :<%=parent_singular_name%>_id, <%=child_singular_name%>.<%=parent_singular_name%>.id %> '> <%% end %>
File Name File Size Created At
<%%= check_box_tag "<%=child_singular_name%>_ids[]", <%=child_singular_name%>.id %> <%%= link_to image_tag(<%=child_singular_name%>.file.url(:thumb), :height => "30"), <%=child_singular_name%>.file.url(:original), :rel => title, :id => 'single_image' %>
<%%= image_tag(<%=child_singular_name%>.file.url(:original)) %>
<%%= <%=child_singular_name%>.file_file_name %> <%%= number_to_human_size(<%=child_singular_name%>.file_file_size) %> <%%= <%=child_singular_name%>.created_at.to_s(:m_d_y) %>
Check all <%%= submit_tag "Delete checked" %>
<%% end -%>
<%% end %> <%%= will_paginate @<%=child_plural_name%> %>