Sha256: ff17f4faad7d6bafcd7feab2957720c9f787aa7d295aaaae6080f99fdfa72ff5

Contents?: true

Size: 631 Bytes

Versions: 4

Compression:

Stored size: 631 Bytes

Contents

<h1><%= plural_table_name.titleize %></h1>

<table class="responsive nowrap table table-hover" id="dttb-<%= plural_table_name %>" data-sort="true" data-source="<%%= url_for(format: :json)%>">
  <thead>
    <tr>
<% attributes.reject(&:password_digest?).each do |attribute| -%>
      <th data-data="<%= attribute.name %>"><%= attribute.human_name %></th>
<% end -%>
      <th data-data="url" data-orderable="false" data-class-name="all" data-searchable="false" class="skip-export" width="100px"></th>
    </tr>
  </thead>

</table>

<br>

<%%= link_to 'New <%= singular_table_name.titleize %>', new_<%= singular_route_name %>_path %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jquery-datatables-1.10.20 lib/generators/jquery/datatables/templates/views/index.html.erb
jquery-datatables-1.10.19.1 lib/generators/jquery/datatables/templates/views/index.html.erb
jquery-datatables-1.10.19 lib/generators/jquery/datatables/templates/views/index.html.erb
jquery-datatables-1.10.18 lib/generators/jquery/datatables/templates/views/index.html.erb