Rework some of the OAuth2 views, adding links and messages when there are no applications.
This commit is contained in:
parent
b96f3867e6
commit
7c26d84a84
7 changed files with 70 additions and 45 deletions
|
@ -42,3 +42,8 @@
|
|||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div>
|
||||
<%= link_to t(".edit"), edit_oauth_application_path(@application), :class => "btn btn-outline-primary" %>
|
||||
<%= link_to t(".delete"), oauth_application_path(@application), { :method => :delete, :class => "btn btn-outline-danger", :data => { :confirm => t(".confirm_delete") } } %>
|
||||
</td>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue