main
Last change
on this file was 2aea0fd, checked in by ElenaMoskova <elena.moskova99@…>, 4 months ago |
init commit Elena
|
-
Property mode
set to
100644
|
File size:
1.2 KB
|
Line | |
---|
1 | @page
|
---|
2 | @model IndexModel
|
---|
3 | @{
|
---|
4 | ViewData["Title"] = "Profile";
|
---|
5 | ViewData["ActivePage"] = ManageNavPages.Index;
|
---|
6 | }
|
---|
7 |
|
---|
8 | <h3>@ViewData["Title"]</h3>
|
---|
9 | <partial name="_StatusMessage" for="StatusMessage" />
|
---|
10 | <div class="row">
|
---|
11 | <div class="col-md-6">
|
---|
12 | <form id="profile-form" method="post">
|
---|
13 | <div asp-validation-summary="ModelOnly" class="text-danger" role="alert"></div>
|
---|
14 | <div class="form-floating mb-3">
|
---|
15 | <input asp-for="Username" class="form-control" placeholder="Please choose your username." disabled />
|
---|
16 | <label asp-for="Username" class="form-label"></label>
|
---|
17 | </div>
|
---|
18 | <div class="form-floating mb-3">
|
---|
19 | <input asp-for="Input.PhoneNumber" class="form-control" placeholder="Please enter your phone number."/>
|
---|
20 | <label asp-for="Input.PhoneNumber" class="form-label"></label>
|
---|
21 | <span asp-validation-for="Input.PhoneNumber" class="text-danger"></span>
|
---|
22 | </div>
|
---|
23 | <button id="update-profile-button" type="submit" class="w-100 btn btn-lg btn-primary">Save</button>
|
---|
24 | </form>
|
---|
25 | </div>
|
---|
26 | </div>
|
---|
27 |
|
---|
28 | @section Scripts {
|
---|
29 | <partial name="_ValidationScriptsPartial" />
|
---|
30 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.