bisscomm/refinerycms-videos

View on GitHub
app/views/refinery/videos/admin/videos/_records.html.erb

Summary

Maintainability
Test Coverage
<%= render 'refinery/admin/search_header', :url => refinery.videos_admin_videos_path %>
<div class='pagination_container'>
  <% if @videos.any? %>
    <%= render 'videos' %>
  <% else %>
    <p>
      <% unless searching? %>
        <strong>
          <%= t('.no_items_yet') %>
        </strong>
      <% else %>
        <%= t('no_results', :scope => 'refinery.admin.search') %>
      <% end %>
    </p>
  <% end %>
</div>