|
1 |
| -<?php require base_path('views/partials/head.php') ?> |
2 |
| -<?php require base_path('views/partials/nav.php') ?> |
| 1 | +<?php require base_path('views/partials/head.php'); ?> |
| 2 | +<?php require base_path('views/partials/nav.php'); ?> |
3 | 3 |
|
4 | 4 | <main>
|
5 |
| - <div class="flex min-h-full items-center justify-center py-12 px-4 sm:px-6 lg:px-8"> |
6 |
| - <div class="w-full max-w-md space-y-8"> |
7 |
| - <div> |
8 |
| - <img class="mx-auto h-12 w-auto" src="https://tailwindui.com/img/logos/mark.svg?color=indigo&shade=600" alt="Your Company"> |
9 |
| - <h2 class="mt-6 text-center text-3xl font-bold tracking-tight text-gray-900">Register for a new |
10 |
| - account</h2> |
11 |
| - </div> |
| 5 | + <div class="flex min-h-full items-center justify-center py-12 px-4 sm:px-6 lg:px-8"> |
| 6 | + <div class="w-full max-w-md space-y-8"> |
| 7 | + <div> |
| 8 | + <img class="mx-auto h-12 w-auto" src="https://tailwindui.com/img/logos/mark.svg?color=indigo&shade=600" alt="Your Company"> |
| 9 | + <h2 class="mt-6 text-center text-3xl font-bold tracking-tight text-gray-900">Register for a new |
| 10 | + account</h2> |
| 11 | + </div> |
12 | 12 |
|
13 |
| - <form class="mt-8 space-y-6" action="/register" method="POST"> |
14 |
| - <div class="-space-y-px rounded-md shadow-sm"> |
15 |
| - <div> |
16 |
| - <label for="email" class="sr-only">Email address</label> |
17 |
| - <input id="email" name="email" type="email" autocomplete="email" required class="relative block w-full appearance-none rounded-none rounded-t-md border border-gray-300 px-3 py-2 text-gray-900 placeholder-gray-500 focus:z-10 focus:border-indigo-500 focus:outline-none focus:ring-indigo-500 sm:text-sm" placeholder="Email address"> |
18 |
| - </div> |
| 13 | + <form class="mt-8 space-y-6" action="/register" method="POST"> |
| 14 | + <div class="-space-y-px rounded-md shadow-sm"> |
| 15 | + <div> |
| 16 | + <label for="email" class="sr-only">Email address</label> |
| 17 | + <input id="email" name="email" type="email" autocomplete="email" required class="relative block w-full appearance-none rounded-none rounded-t-md border border-gray-300 px-3 py-2 text-gray-900 placeholder-gray-500 focus:z-10 focus:border-indigo-500 focus:outline-none focus:ring-indigo-500 sm:text-sm" placeholder="Email address"> |
| 18 | + </div> |
19 | 19 |
|
20 |
| - <div> |
21 |
| - <label for="password" class="sr-only">Password</label> |
22 |
| - <input id="password" name="password" type="password" autocomplete="current-password" required class="relative block w-full appearance-none rounded-none rounded-b-md border border-gray-300 px-3 py-2 text-gray-900 placeholder-gray-500 focus:z-10 focus:border-indigo-500 focus:outline-none focus:ring-indigo-500 sm:text-sm" placeholder="Password"> |
23 |
| - </div> |
24 |
| - </div> |
| 20 | + <div> |
| 21 | + <label for="password" class="sr-only">Password</label> |
| 22 | + <input id="password" name="password" type="password" autocomplete="current-password" required class="relative block w-full appearance-none rounded-none rounded-b-md border border-gray-300 px-3 py-2 text-gray-900 placeholder-gray-500 focus:z-10 focus:border-indigo-500 focus:outline-none focus:ring-indigo-500 sm:text-sm" placeholder="Password"> |
| 23 | + </div> |
| 24 | + </div> |
25 | 25 |
|
26 |
| - <div> |
27 |
| - <button type="submit" class="group relative flex w-full justify-center rounded-md border border-transparent bg-indigo-600 py-2 px-4 text-sm font-medium text-white hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2"> |
28 |
| - Register |
29 |
| - </button> |
30 |
| - </div> |
| 26 | + <div> |
| 27 | + <button type="submit" class="group relative flex w-full justify-center rounded-md border border-transparent bg-indigo-600 py-2 px-4 text-sm font-medium text-white hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2"> |
| 28 | + Register |
| 29 | + </button> |
| 30 | + </div> |
31 | 31 |
|
32 |
| - <ul> |
33 |
| - <?php if (isset($errors['email'])) : ?> |
34 |
| - <li class="text-red-500 text-xs mt-2"><?= $errors['email'] ?></li> |
35 |
| - <?php endif; ?> |
| 32 | + <ul> |
| 33 | + <?php if (isset($errors['email'])) : ?> |
| 34 | + <li class="text-red-500 text-xs mt-2"><?= $errors['email'] ?></li> |
| 35 | + <?php endif; ?> |
36 | 36 |
|
37 |
| - <?php if (isset($errors['password'])) : ?> |
38 |
| - <li class="text-red-500 text-xs mt-2"><?= $errors['password'] ?></li> |
39 |
| - <?php endif; ?> |
40 |
| - </ul> |
41 |
| - </form> |
| 37 | + <?php if (isset($errors['password'])) : ?> |
| 38 | + <li class="text-red-500 text-xs mt-2"><?= $errors['password'] ?></li> |
| 39 | + <?php endif; ?> |
| 40 | + </ul> |
| 41 | + </form> |
| 42 | + </div> |
42 | 43 | </div>
|
43 |
| - </div> |
44 | 44 | </main>
|
45 | 45 |
|
46 |
| -<?php require base_path('views/partials/footer.php') ?> |
| 46 | +<?php require base_path('views/partials/footer.php'); ?> |
0 commit comments