Skip to content

Commit db52498

Browse files
Merge pull request #61 from laravel-frontend-presets/chore/update-verification-template-for-laravel-6
Update verification template for Laravel 6
2 parents 85105a8 + b095057 commit db52498

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

src/tailwindcss-stubs/resources/views/auth/verify.blade.php

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,17 @@
1717
</div>
1818

1919
<div class="w-full flex flex-wrap p-6">
20-
<p class="leading-normal mb-6">
20+
<p class="leading-normal">
2121
{{ __('Before proceeding, please check your email for a verification link.') }}
2222
</p>
2323

24-
<a class="bg-blue-500 hover:bg-blue-700 text-gray-100 font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline no-underline mx-auto" href="{{ route('verification.resend') }}">
25-
{{ __('Resend verification email') }}
26-
</a>
24+
<p class="leading-normal mt-6">
25+
{{ __('If you did not receive the email') }}, <a class="text-blue-500 hover:text-blue-700 no-underline" onclick="event.preventDefault(); document.getElementById('resend-verification-form').submit();">{{ __('click here to resend another') }}</a>.
26+
</p>
27+
28+
<form id="resend-verification-form" action="{{ route('verification.resend') }}" class="hidden">
29+
@csrf
30+
</form>
2731
</div>
2832

2933
</div>

0 commit comments

Comments
 (0)