Sha256: daa9b24c0187952d72bc8fff1056dee08f469b2d82e84e9f27780ca44a061bbc
Contents?: true
Size: 1.38 KB
Versions: 1
Compression:
Stored size: 1.38 KB
Contents
<%= render :partial => 'admin_data/search/search/title', :locals => { :records => @records, :total_num_of_children => @total_num_of_children } %> <div class="pagination"> <%= will_paginate @records, :container => false, :params => {:klass => klass.name} %> </div> <div class='clear'></div> <table cellspacing="3" cellpadding="3" id="view_table" class='table colorize'> <thead> <tr class='thead'> <% columns_order(klass).each do |column| %> <th class='<%=get_sort_class(column)%>' data-sortby='<%=get_sort_order(column)%>'> <%= get_sort_title_with_url(column, klass) %> </th> <% end %> </tr> </thead> <tbody> <% @records.each do |record| %> <tr> <% columns_order(klass).each do |column| %> <td> <% if (column == klass.primary_key) %> <%= link_to(record.to_param.to_s, admin_data_path(:klass => klass.name.underscore, :id => record_id(record))) %> <% else %> <%=h get_value_for_column(column_native(klass, column), record) %> <% end %> </td> <% end %> </tr> <% end %> </tbody> </table> <div class="pagination"> <%= will_paginate @records, :container => false, :params => {:klass => klass.name.underscore} %> </div> <div class='clear'></div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
admin_data-1.1.13 | app/views/admin_data/search/search/_listing.html.erb |