Ignore:
Timestamp:
02/08/24 16:15:01 (9 months ago)
Author:
bube-ristovska <ristovska725@…>
Branches:
main
Children:
6dec591
Parents:
6b10b67
Message:

Added querries half done

File:
1 edited

Legend:

Unmodified
Added
Removed
  • resources/views/login.blade.php

    r6b10b67 rcf84baa  
    4444                            Најави се на твојот профил
    4545                        </h1>
    46                         <form class="space-y-4 md:space-y-6" action="#">
     46                        <form class="space-y-4 md:space-y-6" method="POST" action="/login" >
     47                            @csrf
    4748                            <div>
    48                                 <label for="email" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">Е-маил</label>
    49                                 <input type="email" name="email" id="email" class="bg-gray-50 border border-gray-300 text-gray-900 sm:text-sm rounded-lg focus:ring-primary-600 focus:border-primary-600 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500" placeholder="ime.prezime@policiska_stanica.mk" required="">
     49                                <label for="badge_no" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">Број на значка</label>
     50                                <input type="text" name="badge_no" id="badge_no" class="bg-gray-50 border border-gray-300 text-gray-900 sm:text-sm rounded-lg focus:ring-primary-600 focus:border-primary-600 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500" placeholder="Број на значка" required="">
    5051                            </div>
     52                            @error('badge_no')
     53                            <p class="text-red-500 text-xs mt-1">{{$message}}</p>
     54                            @enderror
    5155                            <div>
    5256                                <label for="password" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">Лозинка</label>
    5357                                <input type="password" name="password" id="password" placeholder="••••••••" class="bg-gray-50 border border-gray-300 text-gray-900 sm:text-sm rounded-lg focus:ring-primary-600 focus:border-primary-600 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500" required="">
    5458                            </div>
     59                            @error('password')
     60                            <p class="text-red-500 text-xs mt-1">{{$message}}</p>
     61                            @enderror
     62
    5563                            <div class="flex items-center justify-between">
    5664                                <div class="flex items-start">
    5765                                    <div class="flex items-center h-5">
    58                                         <input id="remember" aria-describedby="remember" type="checkbox" class="w-4 h-4 border border-gray-300 rounded bg-gray-50 focus:ring-3 focus:ring-primary-300 dark:bg-gray-700 dark:border-gray-600 dark:focus:ring-primary-600 dark:ring-offset-gray-800" required="">
     66                                        <input id="remember" aria-describedby="remember" type="checkbox" class="w-4 h-4 border border-gray-300 rounded bg-gray-50 focus:ring-3 focus:ring-primary-300 dark:bg-gray-700 dark:border-gray-600 dark:focus:ring-primary-600 dark:ring-offset-gray-800">
    5967                                    </div>
    6068                                    <div class="ml-3 text-sm">
Note: See TracChangeset for help on using the changeset viewer.