Sha256: f0927b0379edbb592fc9d6fe2e8cbfd93eccbe3b30fdff78d057042ad767136f
Contents?: true
Size: 789 Bytes
Versions: 13
Compression:
Stored size: 789 Bytes
Contents
<%= render :partial => "submenu" %> <div id='records'> <% if searching? %> <h2><%= t('shared.admin.search.results_for', :query => params[:search]) %></h2> <% if @inquiries.any? %> <ul> <%= render :partial => "inquiry", :collection => @inquiries %> </ul> <% else %> <p><%= t('shared.admin.search.no_results') %></p> <% end %> <% else %> <% if @grouped_inquiries.any? -%> <% @grouped_inquiries.each do |container| %> <h3><%= l((inquiry_group = container.last).first.created_at) %></h3> <ul> <%= render :partial => 'inquiry', :collection => inquiry_group %> </ul> <% end %> <% else -%> <p> <strong><%= t('.no_inquiries') %></strong> </p> <% end -%> <% end %> </div>
Version data entries
13 entries across 13 versions & 1 rubygems