<h1>Login</h1> <form method="post"> {{ csrf() | raw }} {% if error %} <div class="alert alert-danger">{{ error }}</div> {% endif %} <label for="email">Email address</label> <input id="email" type="email" name="email" placeholder="Email" required /> <label for="password">Password</label> <input id="password" type="password" name="password" placeholder="Password" required minlength="8" /> <button type="submit">Login</button> </form>