Sha256: 12adf4e7a146201bf47e44892383d8cbea82260bab04f79b456f1d91d5efda47

Contents?: true

Size: 1.23 KB

Versions: 11

Compression:

Stored size: 1.23 KB

Contents

<tr id="tr_device_<%= device.id %>">
          
  <th scope="row" style="text-align: center;">
    <% if i < 0 %>
      <i class="fa fa-check text-success"></i>
    <% else %>
      <%= i + 1 + (@per_page.to_i * (@current_page.to_i - 1)) %>
    <% end %>
  </th>

  <td class="device-name" style="font-weight:bold;"><%= link_to device.uuid, registration_device_path(registration_id: device.registration_id, id: device.id), remote: true %></td>
  <td>
    <% if device.pending? %>
      <span class="ml-5 mt-5 label label-default">Pending</span>
    <% elsif device.verified? %>
      <span class="ml-5 mt-5 label label-success">Verified</span>
    <% elsif device.blocked? %>
      <span class="ml-5 mt-5 label label-danger">Blocked</span>
    <% end %>
  </td>

  <td class="device-name"><%= device.device_name %></td>
  <td class="device-name"><%= device.device_type %></td>
  
  <% if display_delete_links? %>
  <% delete_link = registration_device_path(@registration, device) %>
  <td class="action-links" style="width:10%"> -->

    <%= link_to raw("<i class=\"fa-trash\"></i> Remove Role"), delete_link, method: :delete, device: "menuitem", tabindex: "-1", data: { confirm: 'Are you sure?' }, :remote=>true, class: "delete" %>

  </td>
  <% end %>

</tr>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
usman-0.4.10.pre.materialize app/views/usman/registration_devices/_row.html.erb
usman-0.4.9.pre.materialize app/views/usman/registration_devices/_row.html.erb
usman-0.4.8.pre.materialize app/views/usman/registration_devices/_row.html.erb
usman-0.4.7.pre.materialize app/views/usman/registration_devices/_row.html.erb
usman-0.4.6.pre.materialize app/views/usman/registration_devices/_row.html.erb
usman-0.4.5.pre.materialize app/views/usman/registration_devices/_row.html.erb
usman-0.4.4.pre.materialize app/views/usman/registration_devices/_row.html.erb
usman-0.4.3.pre.materialize app/views/usman/registration_devices/_row.html.erb
usman-0.4.2.pre.materialize app/views/usman/registration_devices/_row.html.erb
usman-0.4.1.pre.materialize app/views/usman/registration_devices/_row.html.erb
usman-0.4.0.pre.materialize app/views/usman/registration_devices/_row.html.erb