Sha256: f9ae2dc6fe67bd39c13fb4001ad1e99ec9cd47236403ad5125b6a94ef29613fb
Contents?: true
Size: 1023 Bytes
Versions: 14
Compression:
Stored size: 1023 Bytes
Contents
<div id='actions'> <ul> <li> <%= link_to "Upload New File", new_admin_resource_url, :class => "add_icon" %> </li> </ul> </div> <div id='records'> <div id='list_actions'> <%= render :partial => "/shared/admin/search", :locals => {:url => admin_resources_url} %> </div> <% if searching? %> <h2>Search Results for "<%= params[:search] %>"</h2> <% if @resources.size > 0 %> <%= render :partial => "resource", :collection => @resources %> <% else %> <p>Sorry, no results found.</p> <% end %> <% else %> <% if @resources.size > 0 -%> <%= will_paginate @resources, :previous_label => '«', :next_label => '»' %> <ul> <%= render :partial => "resource", :collection => @resources %> </ul> <%= will_paginate @resources, :previous_label => '«', :next_label => '»' %> <% else -%> <p> <strong>There are no files yet. Click "Upload New Files" to add your first file.</strong> </p> <% end -%> <% end %> </div>
Version data entries
14 entries across 14 versions & 1 rubygems