F2 avanzada

This commit is contained in:
2026-08-10 23:00:56 -03:00
parent 12b7b0f4b2
commit b4b25e49e0
49 changed files with 1304 additions and 227 deletions
+18
View File
@@ -1,3 +1,4 @@
@using Microsoft.AspNetCore.Identity
@model IdentityRole
@{
@@ -8,6 +9,23 @@
<p>¿Está seguro que desea deshabilitar este rol? Esto afectará a los usuarios con este rol.</p>
<form asp-action="DisableConfirmed" method="post">
<input type="hidden" name="id" value="@Model.Id" />
@Html.AntiForgeryToken()
<div class="form-group">
<button type="submit" class="btn btn-warning">Deshabilitar rol</button>
<a asp-action="Index" class="btn btn-secondary">Cancelar</a>
</div>
</form>
@{
ViewData["Title"] = "Deshabilitar rol";
}
<h1>Deshabilitar rol: @Model.Name</h1>
<p>¿Está seguro que desea deshabilitar este rol? Esto afectará a los usuarios con este rol.</p>
<form asp-action="DisableConfirmed" method="post">
<input type="hidden" name="id" value="@Model.Id" />
@Html.AntiForgeryToken()