Sha256: 68089e0bda7825661daef0dd128c9e6036b52b1beb94e67feccbd78d2e5370ee
Contents?: true
Size: 950 Bytes
Versions: 22
Compression:
Stored size: 950 Bytes
Contents
<div id='actions'> <ul> <li> <%= render :partial => "/shared/admin/search", :locals => {:url => admin_news_items_url} %> </li> <li> <%= link_to "Create News Item", new_admin_news_item_url, :class => "add_icon" %> </li> </ul> </div> <div id='records'> <%= "<h2>Search Results for \"#{params[:search]}\"</h2>" if searching? %> <% if @news_items.any? %> <%= will_paginate @news_items, :previous_label => '«', :next_label => '»' %> <ul> <%= render :partial => "news_item", :collection => @news_items %> </ul> <%= will_paginate @news_items, :previous_label => '«', :next_label => '»' %> <% else %> <% unless searching? %> <p> <strong> There are no news items yet. Click "Create News Item" to add your first news item. </strong> </p> <% else %> <p>Sorry, no results found.</p> <% end %> <% end %> </div>
Version data entries
22 entries across 22 versions & 4 rubygems