Mentés fölé csík
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
@using Microsoft.AspNetCore.Antiforgery
|
||||
@inject IAntiforgery Antiforgery
|
||||
@{
|
||||
ViewData["Title"] = "Ellenőrzési pont";
|
||||
ViewData["Title"] = "Felhasználó szerkesztése";
|
||||
var UserId = Model.UserDTO.Id;
|
||||
var url = Url.Page("./UserEditPage", "LoadRoles", new { id = UserId });
|
||||
var urlPost = Url.Page("./UserEditPage", "Save");
|
||||
@@ -48,16 +48,19 @@
|
||||
<input asp-for="UserDTO.LastName" class="form-control" />
|
||||
<span asp-validation-for="UserDTO.LastName" class="text-danger"></span>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label asp-for="UserDTO.Active"></label>
|
||||
<input type="checkbox" asp-for="UserDTO.Active" class="form-check-input" />
|
||||
<span asp-validation-for="UserDTO.Active" class="text-danger"></span>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label asp-for="UserDTO.NFCActive"></label>
|
||||
<input type="checkbox" asp-for="UserDTO.NFCActive" class="form-check-input" />
|
||||
<span asp-validation-for="UserDTO.NFCActive" class="text-danger"></span>
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<label asp-for="UserDTO.Active"></label>
|
||||
<input type="checkbox" asp-for="UserDTO.Active" class="form-check-input" />
|
||||
<span asp-validation-for="UserDTO.Active" class="text-danger"></span>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label asp-for="UserDTO.NFCActive"></label>
|
||||
<input type="checkbox" asp-for="UserDTO.NFCActive" class="form-check-input" />
|
||||
<span asp-validation-for="UserDTO.NFCActive" class="text-danger"></span>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="mt-4 mb-3 border-secondary">
|
||||
<div class="mb-3 d-flex justify-content-between">
|
||||
<button type="button" id="saveUser" class="btn btn-primary">Mentés</button>
|
||||
<button type="button" class="btn btn-secondary" onclick="history.back()">Mégsem</button>
|
||||
@@ -83,7 +86,7 @@
|
||||
</div>
|
||||
@section Scripts {
|
||||
<script>
|
||||
|
||||
|
||||
console.log($('#UserEditUrl').val());
|
||||
|
||||
const table = new DataTable('#tbUserPage', {
|
||||
|
||||
Reference in New Issue
Block a user