Sha256: 7c494327b7a24da7afcd1c484892c135973281c66cd0362b27ada6f333a3aadb
Contents?: true
Size: 871 Bytes
Versions: 10
Compression:
Stored size: 871 Bytes
Contents
<!-- Scaffolding generated by Casein <%= casein_get_full_version_string %> --> <table cellpadding="0" cellspacing="0" id="itemList" class="itemList"> <tr> <% for attribute in attributes %><th><%= attribute.name.humanize %></th> <% end %><th> </th> </tr> <%% <%= plural_name %>.each_with_index do |<%= singular_name %>, index| %> <tr class="<%%= 'even' if index.modulo(2) == 0 %> hover"> <% attributes.each do |attribute| %><td><%%= casein_table_cell_link <%= singular_name %>.<%= attribute.name %>, casein_<%= singular_name %>_path(<%= singular_name %>) %></td> <% end %><td class="delete"> <%%= link_to(casein_show_row_icon("delete"), casein_<%= singular_name %>_path(<%= singular_name %>), :method => :delete, :confirm => "Are you sure you want to delete this <%= singular_name.humanize.downcase %>?") %> </td> </tr> <%% end %> </table>
Version data entries
10 entries across 10 versions & 1 rubygems