28 lines
792 B
Text
28 lines
792 B
Text
<div id="yield">
|
|
<div class="centerContent">
|
|
<div class="page-header">
|
|
<h2><%= t('.title') %></h2>
|
|
</div>
|
|
|
|
<table class="table table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th><%= t('.name') %></th>
|
|
<th><%= t('.callback_url') %></th>
|
|
<th></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<% @applications.each do |application| %>
|
|
<tr id="application_<%= application.id %>">
|
|
<td><%= link_to application.name, oauth_application_path(application), :data => { :bypass => 'true' } %></td>
|
|
<td><%= application.redirect_uri %></td>
|
|
<td><%= render 'delete_form', application: application %></td>
|
|
</tr>
|
|
<% end %>
|
|
</tbody>
|
|
</table>
|
|
<%= link_to t('.new'), new_oauth_application_path, class: 'button link-button', :data => { :bypass => 'true' } %>
|
|
</div>
|
|
</div>
|
|
<%= render 'script' %>
|