Sha256: b696132e41377d30da323c4b77effc1fd0c415b5c7cfd83737b0293d6d5a83b2
Contents?: true
Size: 1003 Bytes
Versions: 4
Compression:
Stored size: 1003 Bytes
Contents
<%= flash_messages_for %> <div> <%= render "/crud/links" %> </div> <div class="dataTables_wrapper form-inline"> <table class="table table-striped table-bordered table-hover dataTables-example dataTable"> <thead> <tr> <%@crud_helper.index_fields.each do |att| %> <th> <% if att[:sort_field].present? %> <%= sort_link @q, att[:sort_field], att[:label], {},data: {push: 'partial', target: "#form"}%> <% else %> <%= sort_link @q, att[:attribute], att[:label], {},data: {push: 'partial', target: "#form"}%> <% end %> </th> <%end%> <%if @crud_helper.view_action || @crud_helper.edit_action || @crud_helper.destroy_action || @crud_helper.actions.present?%> <td>Opções</td> <% end %> </tr> </thead> <tbody id="records-body"> <% @records.each do |record| %> <%= render '/crud/record', record: record %> <% end %> </tbody> </table> <%= paginate @records, target: '#form'%> </div>
Version data entries
4 entries across 4 versions & 1 rubygems