feat(registration): drop privacy checkbox [privacy is linked on page]
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
c82fdf3823
commit
c546a96c4d
|
@ -4,7 +4,6 @@
|
|||
|
||||
$: firstname = '';
|
||||
$: lastname = '';
|
||||
$: accepted = false;
|
||||
$: showResult = false;
|
||||
$: showError = false;
|
||||
|
||||
|
@ -27,7 +26,6 @@
|
|||
}
|
||||
firstname = '';
|
||||
lastname = '';
|
||||
accepted = false;
|
||||
}
|
||||
|
||||
function textToBase64Barcode(text: string, is_qrcode: boolean) {
|
||||
|
@ -146,37 +144,9 @@
|
|||
</div>
|
||||
<!-- End Form Group -->
|
||||
|
||||
<!-- Checkbox -->
|
||||
<div
|
||||
class="flex items-center"
|
||||
on:click={() => {
|
||||
accepted = !accepted;
|
||||
}}
|
||||
on:keydown={() => {}}
|
||||
>
|
||||
<div class="flex">
|
||||
<input
|
||||
id="remember-me"
|
||||
name="remember-me"
|
||||
type="checkbox"
|
||||
bind:checked={accepted}
|
||||
class="shrink-0 mt-0.5 border-gray-200 rounded text-blue-600 pointer-events-none focus:ring-blue-500 dark:bg-gray-800 dark:border-gray-700 dark:checked:bg-blue-500 dark:checked:border-blue-500 dark:focus:ring-offset-gray-800"
|
||||
/>
|
||||
</div>
|
||||
<div class="ml-3">
|
||||
<label for="remember-me" class="text-sm dark:text-white"
|
||||
>Ich habe die <a
|
||||
class="text-blue-600 decoration-2 hover:underline font-medium"
|
||||
href="https://lauf-fuer-kaya.de/datenschutz">Datenschutzerklärung</a
|
||||
> gelesen und akzeptiert</label
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
<!-- End Checkbox -->
|
||||
|
||||
<button
|
||||
type="submit"
|
||||
disabled={!firstname || !lastname || !accepted}
|
||||
disabled={!firstname || !lastname}
|
||||
class="py-3 px-4 inline-flex justify-center items-center gap-2 rounded-md border border-transparent font-semibold disabled:opacity-70 bg-blue-600 text-white hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 transition-all text-sm dark:focus:ring-offset-gray-800"
|
||||
>Anmelden</button
|
||||
>
|
||||
|
|
Loading…
Reference in New Issue