33 lines
833 B
HTML
33 lines
833 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Login</title>
|
|
</head>
|
|
<body>
|
|
<form method="post">
|
|
<h2>Login</h2>
|
|
|
|
<label for="username">Username: </label>
|
|
<input type="text" name="username" value="" placeholder="Type your username">
|
|
|
|
<br>
|
|
|
|
<label for="password">Password: </label>
|
|
<input type="password" name="password" value="" placeholder="Type your password">
|
|
|
|
<!-- method -->
|
|
<input type="hidden" name="_method" value="put">
|
|
|
|
<!-- Token -->
|
|
<input type="hidden" name="_token" value="{{ token }}">
|
|
|
|
<br>
|
|
|
|
<button type="submit" name="login">Login</button>
|
|
</form>
|
|
|
|
<a href="/">-> Alternative route</a>
|
|
</body>
|
|
</html>
|