Sha256: 628e02ac525c1744db2fcab918523f7f430d2c01e0626529a938af6970835226

Contents?: true

Size: 989 Bytes

Versions: 8

Compression:

Stored size: 989 Bytes

Contents

<div class="search">

  <div class="column-block">

    <h1>Custom Fields
      <% if can? :add, Kaui::CustomField %>
          <%= link_to '&nbsp;<i class="fa fa-plus-square"></i>'.html_safe, new_custom_field_path %>
      <% end %>
    </h1>

    <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() {
  $('#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>>",
    "pagingType": "full_numbers",
    "processing": true,
    "serverSide": true,
    "ajax": "<%= custom_fields_pagination_path :format => :json %>"
  });
});
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
kaui-0.15.3 app/views/kaui/custom_fields/index.html.erb
kaui-0.15.2 app/views/kaui/custom_fields/index.html.erb
kaui-0.15.1 app/views/kaui/custom_fields/index.html.erb
kaui-0.15.0 app/views/kaui/custom_fields/index.html.erb
kaui-0.14.2 app/views/kaui/custom_fields/index.html.erb
kaui-0.14.1 app/views/kaui/custom_fields/index.html.erb
kaui-0.14.0 app/views/kaui/custom_fields/index.html.erb
kaui-0.12.0 app/views/kaui/custom_fields/index.html.erb