diff options
| author | Kamen Mladenov <kamen.d.mladenov@protonmail.com> | 2021-05-16 05:17:37 +0000 |
|---|---|---|
| committer | Kamen Mladenov <kamen.d.mladenov@protonmail.com> | 2021-05-16 05:17:37 +0000 |
| commit | ffd59fcdc11b8b57cab30be090d2775d2b6b1ba3 (patch) | |
| tree | 3e82cb2864aec05505509e1afc01c6843f0a64a9 /ExamTemplate/Web/Views/Account/Profile.cshtml | |
| parent | 2ac139d0854c0f6d1b4cebc1487dd41128f00c60 (diff) | |
| parent | 564209043493c77fd51ac096b5a160bb20c46f12 (diff) | |
| download | it-kariera-exam-template-ffd59fcdc11b8b57cab30be090d2775d2b6b1ba3.tar it-kariera-exam-template-ffd59fcdc11b8b57cab30be090d2775d2b6b1ba3.tar.gz it-kariera-exam-template-ffd59fcdc11b8b57cab30be090d2775d2b6b1ba3.zip | |
Merge branch 'fuckoff' into 'master'
New structure
See merge request Syndamia/it-kariera-exam-template!2
Diffstat (limited to 'ExamTemplate/Web/Views/Account/Profile.cshtml')
| -rw-r--r-- | ExamTemplate/Web/Views/Account/Profile.cshtml | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/ExamTemplate/Web/Views/Account/Profile.cshtml b/ExamTemplate/Web/Views/Account/Profile.cshtml deleted file mode 100644 index 33fc882..0000000 --- a/ExamTemplate/Web/Views/Account/Profile.cshtml +++ /dev/null @@ -1,33 +0,0 @@ -@using Microsoft.AspNetCore.Identity - -@inject SignInManager<User> SignInManager -@inject UserManager<User> UserManager - -@model UserWebModel -@{ - ViewData["Title"] = Model.Username + "'s Profile"; -} - -<p> - <h2> - @Model.FirstName @Model.LastName - </h2> - <div> - @Model.Username - </div> - @if (SignInManager.IsSignedIn(User)) - { - @if(UserManager.GetUserName(User) == Model.Username) - { - <br> - - <form asp-controller="Account" asp-action="Edit" method="get"> - <input type="submit" value="Edit Profile"> - </form> - - <form asp-controller="Account" asp-action="Delete" method="post"> - <input type="submit" value="Delete Profile"> - </form> - } - } -</p> |
