Sha256: d93f4fdecbe76886b3048db23d4fd9621c8e6b08bbf7b8d23e51c4449903d9ce
Contents?: true
Size: 896 Bytes
Versions: 11
Compression:
Stored size: 896 Bytes
Contents
<%% if searching? %> <h2><%%= t('shared.admin.search.results_for', :query => params[:search]) %></h2> <%% if @<%= plural_name %>.any? %> <ul> <%%= render :partial => '<%= singular_name %>', :collection => @<%= plural_name %> %> </ul> <%% else %> <p><%%= t('shared.admin.search.no_results') %></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
11 entries across 11 versions & 1 rubygems