Sha256: af03927c63bd3232a59e6394f342528a09eee4287217bc162c04dddcbe90eddf

Contents?: true

Size: 1.3 KB

Versions: 6

Compression:

Stored size: 1.3 KB

Contents

<table class="striped">
  <thead>
    <tr>
      <th data-field="checkbox"></th>
      <th data-field="id"><%= t('jera_push.admin.devices.attributes.id') %></th>
      <th data-field="token"><%= t('jera_push.admin.devices.attributes.token') %></th>
      <th data-field="platform"><%= t('jera_push.admin.devices.attributes.platform') %></th>
      <th data-field="resource"><%= t('jera_push.admin.devices.attributes.resource') %></th>
      <th>
        <%= button_tag t('jera_push.admin.buttons.send_all'), type: 'button', class: 'btn btn-action', onclick: 'addAllDevices()' %>
      </th>
      <th width="5%">
        <%= button_tag t('jera_push.admin.buttons.remove_all'), type: 'button', class: 'btn btn-action', onclick: 'removeAllDevices()' %>
      </th>
    </tr>
  </thead>
  <tbody>
    <% devices.each do |device| %>
      <tr>
        <td>
          <%= check_box_tag "devices[]", device.id, false, id: "device_#{device.id}" %>
          <%= label_tag "device_#{device.id}", ''%>
        </td>
        <td><%= device.id %></td>
        <td><%= device.token.truncate(50) %></td>
        <td><%= device.platform %></td>
        <td colspan="4">
          <% resource_extras(device).each do |attribute| %>
            <div><%= attribute %></div>
          <% end %>
        </td>
      </tr>
    <% end %>
  </tbody>
</table>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
jera_push-2.1.4 app/views/jera_push/admin/devices/_checkbox_list.html.erb
jera_push-2.1.3 app/views/jera_push/admin/devices/_checkbox_list.html.erb
jera_push-2.1.2 app/views/jera_push/admin/devices/_checkbox_list.html.erb
jera_push-2.0.0 app/views/jera_push/admin/devices/_checkbox_list.html.erb
jera_push-1.2.4 app/views/jera_push/admin/devices/_checkbox_list.html.erb
jera_push-1.2.3 app/views/jera_push/admin/devices/_checkbox_list.html.erb