This commit is contained in:
Andras Bacsai 2023-05-25 21:46:27 +02:00
parent cf0cf13a68
commit a4c5752a0c
2 changed files with 4 additions and 2 deletions

View File

@ -6,7 +6,8 @@
<h1 class="pb-0">{{ __('auth.login') }}</h1>
@if ($is_registration_enabled)
<a href="/register" class="flex justify-center pt-2 hover:no-underline">
<x-forms.button type="submit">{{ __('auth.register-now') }}</x-forms.button>
<button
class="normal-case btn btn-sm btn-primary bg-coollabs-gradient">{{ __('auth.register-now') }}</button>
</a>
@else
<div class="text-sm text-center">{{ __('auth.registration_disabled') }}</div>

View File

@ -5,7 +5,8 @@
<div class="flex items-center gap-2">
<h1 class="pb-0">{{ __('auth.register') }}</h1>
<a href="/login" class="flex justify-center pt-2 hover:no-underline">
<x-forms.button type="submit">{{ __('auth.already-registered') }}</x-forms.button>
<button
class="normal-case btn btn-sm btn-primary bg-coollabs-gradient">{{ __('auth.already-registered') }}</button>
</a>
</div>
<form action="/register" method="POST" class="flex flex-col gap-2">