Sha256: 773af3c8ee4f81f4dab1632ef4e59fc0e78dc7f410ecd6d551de17e5e64c15b3
Contents?: true
Size: 1.28 KB
Versions: 4
Compression:
Stored size: 1.28 KB
Contents
<div id='actions'> <ul> <li> <%= render :partial => "/shared/admin/search", :locals => {:url => admin_images_url} %> </li> <li> <%= link_to "Create New Image", new_admin_image_url(:dialog => true, :width => 600, :height => 300), :class => "add_icon" %> </li> </ul> <ul> <% other_image_views.each do |image_view| %> <li> <%= link_to "Switch to #{image_view.to_s.titleize} View", admin_images_url(:view => image_view, :page => params[:page]), :class => "reorder_icon" %> </li> <% end %> </ul> </div> <div id='records'> <% if searching? %> <h2>Search Results for "<%= params[:search] %>"</h2> <% if @images.any? %> <%= render :partial => "#{current_image_view}_view" %> <% else %> <p>Sorry, no results found.</p> <% end %> <% else %> <% if @images.any? %> <%= will_paginate @images, :previous_label => '«', :next_label => '»' %> <%= render :partial => "#{current_image_view}_view" %> <%= will_paginate @images, :previous_label => '«', :next_label => '»' %> <% else %> <p> <strong> There are no images yet. Click "Create New Image" to add your first image. </strong> </p> <% end %> <% end %> </div>
Version data entries
4 entries across 4 versions & 1 rubygems