36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
@using Microsoft.AspNetCore.Identity
|
|
@model IdentityRole
|
|
|
|
@{
|
|
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()
|
|
<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()
|
|
<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> |