fix(ui): add missing id to profile nickname for rename toggle

This commit is contained in:
earthjasonlin committed 2026-07-05 22:28:49 +08:00
1 parent b50691e624
commit ee8d9fa528
1 file changed
+1 -1
+1 -1
View File
@@ -17,7 +17,7 @@
<div class="profile-card">
<div class="profile-card-header">
<h3 class="profile-card-name">
{{ p.nickname }}
<span id="name-display-{{ p.id }}">{{ p.nickname }}</span>
<button type="button" class="icon-btn" onclick="startRename({{ p.id }})" title="改名">✏️</button>
</h3>
<form method="post" action="/profiles/{{ p.id }}/rename" class="rename-form" id="name-edit-{{ p.id }}" style="display:none">
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.