diff options
author | ryo <ryo@nopwd.lol> | 2025-03-11 16:15:29 +0000 |
---|---|---|
committer | ryo <ryo@nopwd.lol> | 2025-03-11 16:15:29 +0000 |
commit | fa4823dd632cad6a5736c1d900a064647bb72c20 (patch) | |
tree | a716b9d9f0ce62a9d2ca53f11d64b2a39b178d6c /resources/views/login.blade.php | |
parent | e1a48c8208c181fd40ecb065878ba9ea49b1f48f (diff) |
Fixed: player login based on user and password
Added: show errors to the user
Diffstat (limited to 'resources/views/login.blade.php')
-rw-r--r-- | resources/views/login.blade.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/resources/views/login.blade.php b/resources/views/login.blade.php index d5a528d..9f30bf7 100644 --- a/resources/views/login.blade.php +++ b/resources/views/login.blade.php @@ -1,3 +1,10 @@ +<!DOCTYPE html> +<html> +<head> + <title>Login</title> + <link rel="stylesheet" href="{{ asset('css/app.css') }}"> +</head> +<body> <form method="POST" action="/login"> @csrf @@ -6,5 +13,16 @@ <input name="name"> </div> + <div> + <label for="password">Password:</label> + <input type="password" name="password"> + </div> + + @if($errors->any()) + <div class="error">{{ $errors->first() }}</div> + @endif + <button type="submit">login</button> </form> +</body> +</html> |