Sha256: 1300fe10f4710a47df61f5447557b679e95754c2779fd84cefcdb4ce0f5dbe98
Contents?: true
Size: 1.08 KB
Versions: 2
Compression:
Stored size: 1.08 KB
Contents
<div class="page-header"> <h1> Listing <%=resource_class.model_name.human%> a a a Base <div class="pull-right"> <%= button_to 'New', new_resource_path, :method => :get, :class => "btn primary" %> </div> </h1> </div> <%= form_tag collection_path, :method => 'get' do %> <p> <%= text_field_tag :search, params[:search] %> <%= submit_tag "Search", :name => nil %> </p> <% end %> <%= test %> </br> <table class="zebra-striped"> <tr> <% resource_class.attribute_names.each do |attr| %> <th> <%= sortable attr, resource_class.human_attribute_name(attr) %> </th> <% end %> <th></th> <th></th> <th></th> </tr> <% collection.each do |admin_resource| %> <tr> <% resource_class.attribute_names.each do |attr| %> <td><%= admin_resource.public_send(attr).to_s.truncate(20) %> </td> <% end %> <%= render :partial => "index_action", :locals => { :admin_resource => admin_resource } %> <%= render :partial => "more_index_action", :locals => { :admin_resource => admin_resource } %> </tr> <% end %> </table> <%= will_paginate collection %> <br />
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
customize_admin-0.0.2 | app/views/customize_admin/base/index.html.erb |
customize_admin-0.0.1 | app/views/customize_admin/base/index.html.erb |