Sha256: 9ffe44cdeca0c9f80b8a94093bbb679611e9887b8e2b7744030c3e9ac5ce4141
Contents?: true
Size: 694 Bytes
Versions: 2
Compression:
Stored size: 694 Bytes
Contents
<h2>Show Accesses</h2> <table> <tr> <th>Client URI</th> <th></th> <th></th> </tr> <% @accesses.each do |access| %> <tr> <td><%= access.client_uri %></td> <td><%= link_to 'Show stats', oauth2_provider_engine.oauth2_provider_access_path(access), class: "button icon settings" %></td> <% if access.blocked? %> <td><%= link_to 'Unblock!', oauth2_provider_engine.unblock_oauth2_provider_access_path(access), method: :put, class: "button danger" %></td> <% else %> <td><%= link_to 'Block!', oauth2_provider_engine.block_oauth2_provider_access_path(access), method: :put, class: "button danger" %></td> <% end %> </tr> <% end %> </table> <br/>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
oauth2_provider_engine-0.0.2 | app/views/oauth2_provider/accesses/index.html.erb |
oauth2_provider_engine-0.0.1 | app/views/oauth2_provider/accesses/index.html.erb |