]> git.openstreetmap.org Git - rails.git/blob - app/views/oauth2_applications/_application.html.erb
Replace <h5> used to set the font size with Bootstrap class h5
[rails.git] / app / views / oauth2_applications / _application.html.erb
1 <tr>
2   <td class="align-middle">
3     <ul class="list-unstyled mb-0">
4       <li><%= link_to application.name, oauth_application_path(application) %></li>
5       <% application.redirect_uri.split.each do |uri| -%>
6         <li class="text-muted"><%= uri %></li>
7       <% end -%>
8     </ul>
9   </td>
10   <td class="align-middle">
11     <ul class="list-unstyled mb-0">
12       <% application.scopes.each do |scope| -%>
13         <li><%= t "oauth.scopes.#{scope}" %> <code class="text-muted">(<%= scope %>)</code></li>
14       <% end -%>
15     </ul>
16   </td>
17   <td class="align-middle">
18     <%= link_to t(".edit"), edit_oauth_application_path(application), :class => "btn btn-outline-primary" %>
19   </td>
20   <td class="align-middle">
21     <%= link_to t(".delete"), oauth_application_path(application), { :method => :delete, :class => "btn btn-outline-danger", :data => { :confirm => t(".confirm_delete") } } %>
22   </td>
23 </tr>