Sha256: 54a095d71a041f582c2c5ae8aee976bb3b40c2e98e29f76a30b4ed19c5ae0fb6
Contents?: true
Size: 878 Bytes
Versions: 17
Compression:
Stored size: 878 Bytes
Contents
<div class="search"> <div class="column-block"> <h1>Custom Fields</h1> <input type="hidden" id="custom-fields" value="<%= @custom_fields_json %>"> <table id="custom_fields-table" class="table table-condensed mobile-data"> <thead> <tr> <th>Object ID</th> <th>Object type</th> <th>Name</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td colspan="1" class="dataTables_empty">Loading data from server</td> </tr> </tbody> </table> </div> </div> <%= javascript_tag do %> $(document).ready(function() { var customFields = JSON.parse($("#custom-fields").val()); $('#custom_fields-table').DataTable({ "dom": "<'row'<'col-md-6'l><'col-md-6'f>r>t<'row'<'col-md-6'i><'col-md-6'p>>", data: customFields }); }); <% end %>
Version data entries
17 entries across 17 versions & 1 rubygems