Sha256: 80ab08d54fed267d921b2a474fa05258b4f467b85d91ebf8ecb6207315813db8

Contents?: true

Size: 824 Bytes

Versions: 2

Compression:

Stored size: 824 Bytes

Contents

<h2>Show Scope</h2>

<div class="header_buttons">
  <%= link_to 'Create a new scope', oauth2_provider_engine.new_oauth2_provider_scope_path, class: "button icon add" %>
</div>

<table>
  <tr>
    <th>Name</th>
    <th>Values</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @scopes.each do |scope| %>
  <tr>
    <td><b><%= scope.name %></b></td>
    <td><%= scope.values_pretty %></td>
    <td><%= link_to 'Show', oauth2_provider_engine.oauth2_provider_scope_path(scope), class: "button" %></td>
    <td><%= link_to 'Edit', oauth2_provider_engine.edit_oauth2_provider_scope_path(scope), class: "button" %></td>
    <td><%= link_to 'Destroy', oauth2_provider_engine.oauth2_provider_scope_path(scope), :confirm => 'Are you sure?', :method => :delete, class: "button danger" %></td>
  </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/scopes/index.html.erb
oauth2_provider_engine-0.0.1 app/views/oauth2_provider/scopes/index.html.erb