Sha256: a36b8215cc274d015d01b27bc8098bfe248ca9ddb6793a656ea749ccc8371c38
Contents?: true
Size: 989 Bytes
Versions: 1
Compression:
Stored size: 989 Bytes
Contents
<!-- Scaffolding generated by Caseadilla <%= caseadilla_get_full_version_string %> --> <table class="table table-striped table-hover table-condensed"> <thead> <tr> <% for attribute in attributes %><th><%%= caseadilla_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><%%= caseadilla_table_cell_link <%= singular_name %>.<%= attribute.name %>, caseadilla_<%= singular_name %>_path(<%= singular_name %>) %></td> <% end %><% unless @read_only %><td class="delete"> <%%= link_to(caseadilla_show_row_icon("trash"), caseadilla_<%= 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
caseadilla-0.0.1 | lib/generators/caseadilla/scaffold/templates/views/_table.html.erb |