blog-app/views/user/login.blade.php
2021-11-13 14:19:55 +08:00

22 lines
766 B
PHP

@extends('layout.master')
@section('title')
Login -
@endsection
@section('content')
<form method="POST" action="/user/login">
<input type="hidden" name="_token" value="{{ $_SESSION['_token'] }}">
<div class="form-group">
<label for="username">Username</label>
<input type="text" name="username" class="form-control" placeholder="Enter username" value="{{$username ?? '' }}">
</div>
<div class="form-group">
<label for="password">Password</label>
<input type="password" name="password" class="form-control" placeholder="Enter password">
</div>
<button type="submit" class="btn btn-primary">Login</button>
<a href="/user/password/reset" class="text-info float-right">Forgot password?</a>
</form>
@endsection