aboutsummaryrefslogtreecommitdiff
path: root/resources/views/login.blade.php
blob: 9f30bf77f54b7a141d7fad36ad1a219fb622f8e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!DOCTYPE html>
<html>
<head>
    <title>Login</title>
    <link rel="stylesheet" href="{{ asset('css/app.css') }}">
</head>
<body>
<form method="POST" action="/login">
    @csrf

    <div>
        <label for="name">Username:</label>
        <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>