- attributes_for(resource_class).each do |name|
  - t.attribute name, :format => :long
- t.action :show, :link_to => :resource_path, :class => 'btn small'
- t.action :edit, :link_to => :edit_resource_path, :class => 'btn small'
- t.action :delete, :method => :delete, :confirm => "Are you sure?", :class => 'btn small danger'
- attributes_for(resource_class).each do |name|
  - t.attribute name, :format => :long
- t.default_actions
Use default actions in default table view
Use default actions in default table view
