Sha256: efcceaf1f833072159668271651db35f26d039536c508018e23bcc4a249528a0
Contents?: true
Size: 952 Bytes
Versions: 9
Compression:
Stored size: 952 Bytes
Contents
<%%= render 'refinery/admin/search_header', :url => refinery.<%= namespacing.underscore %>_admin_<%= plural_name %>_path %> <%% if searching? %> <%% if @<%= plural_name %>.any? %> <ul> <%%= render :partial => '<%= singular_name %>', :collection => @<%= plural_name %> %> </ul> <%% else %> <p><%%= t('no_results', :scope => 'refinery.admin.search') %></p> <%% end %> <%% else %> <%% if @grouped_<%= plural_name %>.any? -%> <%% @grouped_<%= plural_name %>.each do |container| %> <h3><%%= l((<%= singular_name %>_group = container.last).first.created_at, :format => :short) %></h3> <ul> <%%= render :partial => '<%= singular_name %>', :collection => <%= singular_name %>_group %> </ul> <%% end %> <%% else -%> <p> <strong><%%= t('no_<%= plural_name %>', :scope => 'refinery.<%= namespacing.underscore %>.admin.<%= plural_name %>.index') %></strong> </p> <%% end -%> <%% end %>
Version data entries
9 entries across 9 versions & 2 rubygems