Moshaverino/Moshaverino.Core/Views/Admin/Edit.cshtml

100 lines
4.5 KiB
Plaintext

@model Moshaverino.Core.Models.Student
@{
ViewData["Title"] = "Edit";
}
<h1>Edit</h1>
<h4>Student</h4>
<hr />
<div class="row">
<div class="col-md-4">
<form asp-action="Edit">
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
<input type="hidden" asp-for="StudentId" />
<div class="form-group">
<label asp-for="PhoneNumber" class="control-label"></label>
<input asp-for="PhoneNumber" class="form-control" />
<span asp-validation-for="PhoneNumber" class="text-danger"></span>
</div>
<div class="form-group">
<label asp-for="Code" class="control-label"></label>
<input asp-for="Code" class="form-control" />
<span asp-validation-for="Code" class="text-danger"></span>
</div>
<div class="form-group">
<label asp-for="HumenSex" class="control-label"></label>
<select asp-for="HumenSex" class="form-control"></select>
<span asp-validation-for="HumenSex" class="text-danger"></span>
</div>
<div class="form-group">
<label asp-for="FullName" class="control-label"></label>
<input asp-for="FullName" class="form-control" />
<span asp-validation-for="FullName" class="text-danger"></span>
</div>
<div class="form-group">
<label asp-for="StudyField" class="control-label"></label>
<input asp-for="StudyField" class="form-control" />
<span asp-validation-for="StudyField" class="text-danger"></span>
</div>
<div class="form-group">
<label asp-for="StudyGrade" class="control-label"></label>
<input asp-for="StudyGrade" class="form-control" />
<span asp-validation-for="StudyGrade" class="text-danger"></span>
</div>
<div class="form-group">
<label asp-for="AverageNumber" class="control-label"></label>
<input asp-for="AverageNumber" class="form-control" />
<span asp-validation-for="AverageNumber" class="text-danger"></span>
</div>
<div class="form-group">
<label asp-for="FavoriteLesson" class="control-label"></label>
<input asp-for="FavoriteLesson" class="form-control" />
<span asp-validation-for="FavoriteLesson" class="text-danger"></span>
</div>
<div class="form-group">
<label asp-for="UnFavoriteLesson" class="control-label"></label>
<input asp-for="UnFavoriteLesson" class="form-control" />
<span asp-validation-for="UnFavoriteLesson" class="text-danger"></span>
</div>
<div class="form-group">
<label asp-for="FavoriteExam" class="control-label"></label>
<input asp-for="FavoriteExam" class="form-control" />
<span asp-validation-for="FavoriteExam" class="text-danger"></span>
</div>
<div class="form-group">
<label asp-for="AverageTaraz" class="control-label"></label>
<input asp-for="AverageTaraz" class="form-control" />
<span asp-validation-for="AverageTaraz" class="text-danger"></span>
</div>
<div class="form-group">
<label asp-for="CreationTime" class="control-label"></label>
<input asp-for="CreationTime" class="form-control" />
<span asp-validation-for="CreationTime" class="text-danger"></span>
</div>
<div class="form-group">
<label asp-for="RemoveTime" class="control-label"></label>
<input asp-for="RemoveTime" class="form-control" />
<span asp-validation-for="RemoveTime" class="text-danger"></span>
</div>
<div class="form-group form-check">
<label class="form-check-label">
<input class="form-check-input" asp-for="IsRemoved" /> @Html.DisplayNameFor(model => model.IsRemoved)
</label>
</div>
<div class="form-group">
<input type="submit" value="Save" class="btn btn-primary" />
</div>
</form>
</div>
</div>
<div>
<a asp-action="Index">Back to List</a>
</div>
@section Scripts {
@{await Html.RenderPartialAsync("_ValidationScriptsPartial");}
}