Sha256: 38f656c53763e8327cdd3c0ee2acbf047c4677ea917e42a0553f030a16a2cb7b
Contents?: true
Size: 991 Bytes
Versions: 5
Compression:
Stored size: 991 Bytes
Contents
<%= render "submenu" %> <div id='records'> <% if searching? %> <%= render 'refinery/admin/search_header', :url => request.path.gsub("//", "/") %> <% if @inquiries.any? %> <%= will_paginate @inquiries %> <ul> <%= render :partial => "inquiry", :collection => @inquiries %> </ul> <%= will_paginate @inquiries %> <% else %> <p><%= t('refinery.admin.search.no_results') %></p> <% end %> <% else %> <% if @inquiries.any? -%> <%= will_paginate @inquiries %> <% group_by_date(@inquiries).each do |container| %> <h3><%= l((inquiry_group = container.last).first.created_at, :format => :short) %></h3> <ul> <%= render :partial => 'inquiry', :collection => inquiry_group %> </ul> <% end %> <%= will_paginate @inquiries %> <% else -%> <p> <strong><%= t(".no_#{action_name == 'index' ? 'inquiries' : 'spam'}") %></strong> </p> <% end -%> <% end %> </div>
Version data entries
5 entries across 5 versions & 1 rubygems