<% devices.each do |device| %> <% end %>
<%= t('jera_push.admin.devices.attributes.id') %> <%= t('jera_push.admin.devices.attributes.token') %> <%= t('jera_push.admin.devices.attributes.platform') %> <%= t('jera_push.admin.devices.attributes.resource') %> <%= button_tag t('jera_push.admin.buttons.send_all'), type: 'button', class: 'btn btn-action', onclick: 'addAllDevices()' %> <%= button_tag t('jera_push.admin.buttons.remove_all'), type: 'button', class: 'btn btn-action', onclick: 'removeAllDevices()' %>
<%= check_box_tag "devices[]", device.id, false, id: "device_#{device.id}" %> <%= label_tag "device_#{device.id}", ''%> <%= device.id %> <%= device.token.truncate(50) %> <%= device.platform %> <% resource_extras(device).each do |attribute| %>
<%= attribute %>
<% end %>