Sha256: 2912853b41b01d6fb5f589f5a19e646fe6a838b0595294c45533c9016814e1b6
Contents?: true
Size: 1.31 KB
Versions: 13
Compression:
Stored size: 1.31 KB
Contents
<table class="highlight"> <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(40) %></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
13 entries across 13 versions & 1 rubygems