Sha256: 8a50ad2ef8b3f0f806b79b6c491e4e47c65687c77babe8538c37c15e714ad406
Contents?: true
Size: 1.04 KB
Versions: 2
Compression:
Stored size: 1.04 KB
Contents
<div class="page-header"> <h1> Kuba <%=resource_class.model_name.human%> a a a Base b b bjjjkkk <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> <% attributes.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> <% attributes.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.5 | app/views/customize_admin/base/index.html.erb |
customize_admin-0.0.4 | app/views/customize_admin/base/index.html.erb |