Created
February 2, 2022 12:08
-
-
Save Ghostscypher/7631815576d7ca61e870e7c56c5bb851 to your computer and use it in GitHub Desktop.
Oauth2-Server App login blade
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@extends('layout.layout') | |
@section('content') | |
<form action="{{route('login.post')}}" method="POST"> | |
@csrf | |
@error('success') | |
<div class="success"> | |
{{$message}} | |
</div> | |
<br><br> | |
@enderror | |
@error('error') | |
<div class="error"> | |
{{$message}} | |
</div> | |
<br><br> | |
@enderror | |
<div class="form-input"> | |
<label for="email">Email</label> | |
<br> | |
<input type="email" name="email" placeholder="Enter email" value="{{old('email')}}"> | |
<div class="error"> | |
@error('email') | |
{{$message}} | |
@enderror | |
</div> | |
</div> | |
<div class="form-input"> | |
<label for="password">Password</label> | |
<br> | |
<input type="password" name="password" placeholder="Enter password"> | |
<div class="error"> | |
@error('password') | |
{{$message}} | |
@enderror | |
</div> | |
</div> | |
<br> | |
<button type="submit">Login</button> | |
<br> | |
Don't have an account? <a href="{{route('register')}}">Register here</a> | |
</form> | |
@endsection |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment