source: resources/views/auth/forgot.blade.php@ ea7b12a

develop
Last change on this file since ea7b12a was 7304c7f, checked in by beratkjufliju <kufliju@…>, 3 years ago

added user authentication, create & forgot password methods and blades

  • Property mode set to 100644
File size: 1.5 KB
Line 
1@extends('layouts.auth')
2
3@section("title", "Forgot | TechBlog")
4
5@section('content')
6
7 <!-- logo -->
8 <div id="logo">
9 <img class="logo" src="{{ url('assets/media/images/logo.png') }}" alt="image">
10 </div>
11 <!-- ./ logo -->
12
13 <h5>Reset password</h5>
14
15 <!-- form -->
16 <form action="{{ route("auth.forgot") }}" method="post">
17 @csrf
18 @if ($errors->any())
19 <div class="alert alert-danger">
20 <ul class="m-0 pl-2">
21 @foreach ($errors->all() as $error)
22 <li>{{ $error }}</li>
23 @endforeach
24 </ul>
25 </div>
26 @endif
27
28 @if(Session::has('forgotInfo'))
29 <div class="alert alert-success fade show" role="alert">
30 <strong> {{ Session::get('forgotInfo') }} </strong>
31 <button type="button" class="close" data-dismiss="alert" aria-label="Close">
32 </button>
33 </div>
34 @endif
35 <div class="form-group">
36 <input type="email" name="email" class="form-control" id="" aria-describedby="emailHelp" placeholder="Username" required autofocus>
37 </div>
38 <button type="submit" class="btn btn-primary btn-block">Submit</button>
39 <hr>
40 <p class="text-muted">Take a different action.</p>
41 <a href="{{ route("auth.loginShow") }}" class="btn btn-sm btn-outline-light ml-1">Login!</a>
42 </form>
43 <!-- ./ form -->
44
45@endsection
Note: See TracBrowser for help on using the repository browser.