public
Description: A collection of UI widgets for RubyOnRails
Home | Edit | New

Tableizer

code example:

<% tableize @customers, 
  :header => 'Listing Customers',
  :generate_css => 'true' do |customer| %>            
     <h3><%= customer.name %></h3>
     <p>
       Code: <%= customer.code %>
       Place order: <%= customer.order %>
       <%= link_to 'show', .... %>
       <%= link_to 'Edit', .... %>
       <%= link_to 'Destroy', .... %>

<% end %>

Last edited by paolodona, Fri Nov 07 15:19:13 -0800 2008
Home | Edit | New
Versions: