Skip to content

Commit

Permalink
Merge pull request #8 from Larsklopstra/patch-1
Browse files Browse the repository at this point in the history
chore: change divs to buttons
  • Loading branch information
taylorotwell authored Sep 1, 2020
2 parents 7b89110 + 994cec6 commit 5fbbc75
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions stubs/resources/views/auth/two-factor-challenge.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,23 @@
</div>

<div class="flex items-center justify-end mt-4">
<div class="text-sm text-gray-600 hover:text-gray-900 underline cursor-pointer"
<button type="button" class="text-sm text-gray-600 hover:text-gray-900 underline cursor-pointer"
x-show="! recovery"
x-on:click="
recovery = true;
$nextTick(() => { $refs.recovery_code.focus() })
">
Use a recovery code
</div>
</button>

<div class="text-sm text-gray-600 hover:text-gray-900 underline cursor-pointer"
<button type="button" class="text-sm text-gray-600 hover:text-gray-900 underline cursor-pointer"
x-show="recovery"
x-on:click="
recovery = false;
$nextTick(() => { $refs.code.focus() })
">
Use an authentication code
</div>
</button>

<x-jet-button class="ml-4">
Login
Expand Down

0 comments on commit 5fbbc75

Please sign in to comment.