fix(web): resolve User Edit routing mismatch and apply asp-page Tag Helpers
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 22s
Prepare Release / Build & Create Release (push) Successful in 58s
Prepare Release / Release Notification (push) Successful in 1s
Validators (Pushes and Pull Requests) / validate-core (push) Successful in 1m54s
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 22s
Prepare Release / Build & Create Release (push) Successful in 58s
Prepare Release / Release Notification (push) Successful in 1s
Validators (Pushes and Pull Requests) / validate-core (push) Successful in 1m54s
This commit is contained in:
@@ -53,11 +53,9 @@
|
||||
</td>
|
||||
<td>@(user.CreatedAt ?? "-")</td>
|
||||
<td>
|
||||
<a href="/Admin/Users/@user.Username/Edit" class="btn btn-sm btn-link">수정</a>
|
||||
<form method="post" style="display:inline;" onsubmit="return confirm('이 사용자를 비활성화하시겠습니까?');">
|
||||
<a asp-page="./Edit" asp-route-username="@user.Username" class="btn btn-sm btn-link">수정</a>
|
||||
<form method="post" asp-page-handler="Delete" asp-route-username="@user.Username" style="display:inline;" onsubmit="return confirm('이 사용자를 비활성화하시겠습니까?');">
|
||||
@Html.AntiForgeryToken()
|
||||
<input type="hidden" name="handler" value="delete" />
|
||||
<input type="hidden" name="username" value="@user.Username" />
|
||||
<button type="submit" class="btn btn-sm btn-link text-danger">비활성화</button>
|
||||
</form>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user