F2 avanzada
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user