Browse Source
Merge pull request #4783 from abpframework/malimng/camcel-btn-patch
Move cancel button to the form & add formnovalidate attribute.
pull/4797/head
Halil İbrahim Kalkan
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
7 deletions
-
modules/account/src/Volo.Abp.Account.Web/Pages/Account/Login.cshtml
|
|
|
@ -38,15 +38,12 @@ |
|
|
|
</label> |
|
|
|
</div> |
|
|
|
<abp-button type="submit" button-type="Primary" name="Action" value="Login" class="btn-block btn-lg mt-3">@L["Login"]</abp-button> |
|
|
|
@if (Model.ShowCancelButton) |
|
|
|
{ |
|
|
|
<abp-button type="submit" button-type="Secondary" formnovalidate="formnovalidate" name="Action" value="Cancel" class="btn-block btn-lg mt-3">@L["Cancel"]</abp-button> |
|
|
|
} |
|
|
|
</form> |
|
|
|
</div> |
|
|
|
|
|
|
|
@if (Model.ShowCancelButton) |
|
|
|
{ |
|
|
|
<div class="card-footer text-center border-0"> |
|
|
|
<abp-button type="button" button-type="Link" name="Action" value="Cancel" class="px-2 py-0">@L["Cancel"]</abp-button> |
|
|
|
</div> |
|
|
|
} |
|
|
|
</div> |
|
|
|
} |
|
|
|
|
|
|
|
|