Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Commit

Permalink
Remove fieldset, move disabled to Email and Button
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinsina committed Jun 1, 2022
1 parent 92d3918 commit 6dfb334
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions packages/marko-web-identity-x/browser/login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,23 +23,23 @@
</div>
<div v-else>
<form @submit.prevent="handleSubmit">
<fieldset :disabled="loading">
<legend class="visually-hidden">
Sign-up with E-Mail to Comment
</legend>
<email v-model="email" :placeholder="loginEmailPlaceholder" />
<small
v-if="consentPolicy"
class="text-muted mb-3"
v-html="consentPolicy"
/>
<button
type="submit"
class="btn btn-primary"
>
{{ buttonLabels.continue }}
</button>
</fieldset>
<email
v-model="email"
:placeholder="loginEmailPlaceholder"
:disabled="loading"
/>
<small
v-if="consentPolicy"
class="text-muted mb-3"
v-html="consentPolicy"
/>
<button
type="submit"
class="btn btn-primary"
:disabled="loading"
>
{{ buttonLabels.continue }}
</button>
<p v-if="error" class="mt-3 text-danger">
An error occurred: {{ error.message }}
</p>
Expand Down

0 comments on commit 6dfb334

Please sign in to comment.