Sha256: 3a0008a49bcc5c589c7c65a8be1a4cd64285b7ae2b9e5e7a19bb01cc25c3417a
Contents?: true
Size: 760 Bytes
Versions: 27
Compression:
Stored size: 760 Bytes
Contents
<tr class="<%= cycle('even', 'odd') %>"> <% resource_handler.attributes.each do |attribute| %> <td class="<%= attribute[:type] %> <%= attribute[:name] %>"> <% if attribute[:type] == :boolean %> <%= render_icon !!resource.send(attribute[:name]) %> <% else %> <%= render_attribute(resource, attribute) %> <% end %> </td> <% end %> <td class="tools"> <% if can?(:destroy, resource) %> <%= delete_button resource_path(resource) %> <% end %> <% if can?(:edit, resource) %> <%= link_to_dialog( '', edit_resource_path(resource), { title: _t('Edit'), size: resource_window_size }, { class: 'icon edit', title: _t('Edit') } ) %> <% end %> </td> </tr>
Version data entries
27 entries across 27 versions & 2 rubygems