refactoring
This commit is contained in:
parent
093f42a096
commit
be5fe3eed3
3 changed files with 17 additions and 39 deletions
|
|
@ -1,23 +0,0 @@
|
|||
@model ChangeUserNameViewModel
|
||||
@{
|
||||
ViewData["Title"] = "Change user name";
|
||||
}
|
||||
|
||||
<h2>@ViewData["Title"].</h2>
|
||||
|
||||
<form asp-controller="Manage" asp-action="CHUN" method="post" class="form-horizontal" role="form">
|
||||
<h4>Change user name form</h4>
|
||||
<hr />
|
||||
<div asp-validation-summary="ValidationSummary.All" class="text-danger"></div>
|
||||
<div class="form-group">
|
||||
<label asp-for="NewUserName" class="col-md-2 control-label"></label>
|
||||
<div class="col-md-10">
|
||||
<input asp-for="NewUserName" class="form-control" />
|
||||
<span asp-validation-for="NewUserName" class="text-danger"></span>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
@section Scripts {
|
||||
@{ await Html.RenderPartialAsync("_ValidationScriptsPartial"); }
|
||||
}
|
||||
2
Yavsc/Views/Manage/ChangeUserName.cshtml
Executable file → Normal file
2
Yavsc/Views/Manage/ChangeUserName.cshtml
Executable file → Normal file
|
|
@ -1,6 +1,6 @@
|
|||
@model ChangeUserNameViewModel
|
||||
@{
|
||||
ViewData["Title"] = "Change user name";
|
||||
ViewData["Title"] = @SR["Changer de nom d'utilisateur"];
|
||||
}
|
||||
|
||||
<h2>@ViewData["Title"].</h2>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue