Inline anemic partial

This commit is contained in:
David Heinemeier Hansson
2025-12-02 13:07:42 +01:00
committed by Stanko K.R.
parent 88902485e1
commit d2bdd13909
2 changed files with 10 additions and 10 deletions
+10 -1
View File
@@ -43,7 +43,16 @@
<% if Current.user == @user %>
<section class="panel shadow" style="--panel-size: 45ch;">
<%= render "users/transfer", user: @user %>
<%= render "users/developer" %>
<div class="flex flex-column align-center gap margin-block-start-double">
<header class="full-width">
<h2 class="divider txt-large margin-none-block">API</h2>
</header>
<div class="flex align-center gap txt-normal">
<%= link_to "Personal access tokens", my_access_tokens_path, class: "btn" %>
</div>
</div>
<div class="center margin-block-start-double">
<%= button_to session_url(script_name: nil), method: :delete, class: "btn btn--plain txt-link txt-small", data: { turbo: false } do %>