Sha256: 432c733d72ca287219a92bb47e8578524e02b1eb5150d61ef7ef51e8c9f46947
Contents?: true
Size: 986 Bytes
Versions: 9
Compression:
Stored size: 986 Bytes
Contents
<h1>Listing tokens</h1> <table> <thead> <tr> <th>Imageable</th> <th>Imageable type</th> <th>Auth token</th> <th>First ip address</th> <th>Current ip address</th> <th>Times used</th> <th>Expiration minutes</th> <th colspan="3"></th> </tr> </thead> <tbody> <% @tokens.each do |token| %> <tr> <td><%= token.imageable_id %></td> <td><%= token.imageable_type %></td> <td><%= token.auth_token %></td> <td><%= token.first_ip_address %></td> <td><%= token.current_ip_address %></td> <td><%= token.times_used %></td> <td><%= token.expiration_minutes %></td> <td><%= link_to 'Show', token %></td> <td><%= link_to 'Edit', edit_token_path(token) %></td> <td><%= link_to 'Destroy', token, method: :delete, data: { confirm: 'Are you sure?' } %></td> </tr> <% end %> </tbody> </table> <br> <%= link_to 'New Token', new_token_path %>
Version data entries
9 entries across 9 versions & 1 rubygems