Sha256: ad942d62640f7024ce87ff160384ca2f5341d9b553b5f198e60e0a1da2044056
Contents?: true
Size: 662 Bytes
Versions: 14
Compression:
Stored size: 662 Bytes
Contents
%table.table.table-striped %thead %tr - attributes.each do |attr| %th= sortable attr, resource_class.human_attribute_name(attr) %tbody - collection.each do |resource| %tr - attributes.each do |attr| %td = resource.public_send(attr).to_s.truncate(20) %td .btn-group = link_to t(:show), resource_path(resource), :class=>"btn btn-action" = link_to t(:edit), edit_resource_path(resource),:class=>"btn btn-warning" = link_to( t(:delete), resource_path(resource),:method => :delete, :confirm =>"This action is irreversible!",:class=>"btn btn-danger" )
Version data entries
14 entries across 5 versions & 1 rubygems