metamaps--metamaps/app/views/doorkeeper/authorized_applications/index.html.erb
2016-03-24 17:16:27 -07:00

31 lines
838 B
Plaintext

<div id="yield">
<div class="centerContent">
<header class="page-header">
<h2><%= t('doorkeeper.authorized_applications.index.title') %></h2>
</header>
<main role="main">
<table class="table table-striped">
<thead>
<tr>
<th><%= t('doorkeeper.authorized_applications.index.application') %></th>
<th><%= t('doorkeeper.authorized_applications.index.created_at') %></th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
<% @applications.each do |application| %>
<tr>
<td><%= application.name %></td>
<td><%= application.created_at.strftime(t('doorkeeper.authorized_applications.index.date_format')) %></td>
<td><%= render 'delete_form', application: application %></td>
</tr>
<% end %>
</tbody>
</table>
</main>
</div>
</div>
<%= render 'script' %>