Sha256: 01660ad11ca03235bdf6b7bd10c1aa11d234a1879a174049c0870876136f05fb
Contents?: true
Size: 877 Bytes
Versions: 19
Compression:
Stored size: 877 Bytes
Contents
%h1 Listing <%= plural_table_name %> .row-fluid.actions .pull-right.padded = link_to new_<%= singular_table_name %>_path, :class => 'btn btn-primary' do %i.icon-plus-sign.icon-white New <%= human_name %> %table.table.table-bordered.table-striped %tr <% for attribute in attributes -%> %th <%= attribute.human_name %> <% end -%> %th %th %th - @<%= plural_table_name %>.each do |<%= singular_table_name %>| %tr <% for attribute in attributes -%> %td= <%= singular_table_name %>.<%= attribute.name %> <% end -%> %td= link_to 'Show', <%= singular_table_name %> %td= link_to 'Edit', edit_<%= singular_table_name %>_path(<%= singular_table_name %>) %td= link_to 'Destroy', <%= singular_table_name %>, <%= key_value :method, ":delete" %>, <%= key_value :data, "{ #{key_value :confirm, "'Are you sure?'"} }" %> %br
Version data entries
19 entries across 19 versions & 1 rubygems