]> git.openstreetmap.org Git - rails.git/blob - app/views/oauth2_authorized_applications/_application.html.erb
Add Bootstrap styling to changeset node/way/relation page links
[rails.git] / app / views / oauth2_authorized_applications / _application.html.erb
1 <tr>
2   <td class="align-middle">
3     <%= application.name %>
4   </td>
5   <td class="align-middle">
6     <ul class="list-unstyled mb-0">
7       <% application.authorized_scopes_for(current_user).each do |scope| -%>
8         <li><%= t "oauth.scopes.#{scope}" %></li>
9       <% end -%>
10     </ul>
11   </td>
12   <td class="align-middle text-end">
13     <%= link_to t(".revoke"), oauth_authorized_application_path(application), { :method => :delete, :class => "btn btn-outline-danger", :data => { :confirm => t(".confirm_revoke") } } %>
14   </td>
15 </tr>