Sha256: 02d4ece8d06b66bfad51fe3c3b5468c63c683da20353c0ba3ad3bd9f21c984a2
Contents?: true
Size: 965 Bytes
Versions: 7
Compression:
Stored size: 965 Bytes
Contents
<!-- Scaffolding generated by Casein <%= casein_get_full_version_string %> --> <table class="table table-striped table-hover table-condensed"> <thead> <tr> <% for attribute in attributes %><th><%%= casein_sort_link "<%= attribute.name.humanize %>", :<%= attribute.name %> %></th> <% end %><% unless @read_only %><th> </th><% end %> </tr> </thead> <%% <%= plural_name %>.each do |<%= singular_name %>| %> <tr> <% attributes.each do |attribute| %><td><%%= casein_table_cell_link <%= singular_name %>.<%= attribute.name %>, casein_<%= singular_name %>_path(<%= singular_name %>) %></td> <% end %><% unless @read_only %><td class="delete"> <%%= link_to(casein_show_row_icon("trash"), casein_<%= singular_name %>_path(<%= singular_name %>), method: :delete, data: { confirm: "Are you sure you want to delete this <%= singular_name.humanize.downcase %>?" }) %> </td><% end %> </tr> <%% end %> </table>
Version data entries
7 entries across 7 versions & 1 rubygems