1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-21 11:35:34 +01:00

updated submit button to use the block directive and add loader (#3644)

This commit is contained in:
Gbubemi Smith 2022-09-28 18:23:48 +01:00 committed by GitHub
parent 870ced2235
commit 9c40ac4e14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,18 +79,14 @@
bitButton
buttonType="primary"
type="submit"
class="tw-inline-block tw-w-1/2"
[block]="true"
[loading]="form.loading"
[disabled]="form.loading"
>
<span> <i class="bwi bwi-sign-in"></i> {{ "logIn" | i18n }} </span>
</button>
<a
bitButton
buttonType="secondary"
routerLink="/register"
class="tw-inline-block tw-w-1/2"
>
<a bitButton buttonType="secondary" routerLink="/register" [block]="true">
<i class="bwi bwi-pencil-square"></i>
{{ "createAccount" | i18n }}
</a>