aboutsummaryrefslogtreecommitdiff
path: root/ExamTemplate/Web/Views
diff options
context:
space:
mode:
Diffstat (limited to 'ExamTemplate/Web/Views')
-rw-r--r--ExamTemplate/Web/Views/Account/Register.cshtml7
1 files changed, 7 insertions, 0 deletions
diff --git a/ExamTemplate/Web/Views/Account/Register.cshtml b/ExamTemplate/Web/Views/Account/Register.cshtml
index 7eaca19..9514ed3 100644
--- a/ExamTemplate/Web/Views/Account/Register.cshtml
+++ b/ExamTemplate/Web/Views/Account/Register.cshtml
@@ -17,4 +17,11 @@
<span asp-validation-for="Password" class="form-error"></span>
<input type="submit">
+
+ @if (Model != null)
+ {
+ <p class="form-error">
+ Couldn't register account!
+ </p>
+ }
</form>