Skip to content

Commit

Permalink
#218 - Using validation in login screen.
Browse files Browse the repository at this point in the history
  • Loading branch information
maraf committed Mar 5, 2019
1 parent 8bb799c commit a300837
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Money.UI.Blazor/Pages/Account/Login.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,10 @@
You can sign in as <strong>demo</strong> user with <strong>demo</strong> password or register your own account.
</div>

<ValidationSummary ErrorMessages="@ErrorMessages" />
<div class="row">
<div class="col-md-4">
<section>
@if (IsError)
{
<Alert Title="Error" Message="User name and password don't match." Mode="AlertMode.Error" />
}

<form onsubmit="@OnSubmitAsync">
<div asp-validation-summary="All" class="text-danger"></div>
Expand Down

0 comments on commit a300837

Please sign in to comment.