Files
sccs_laravel/resources/views/auth/forgot-password.blade.php
2025-11-04 16:23:40 +05:00

58 lines
2.2 KiB
PHP

@extends('layouts/fullLayoutMaster')
@section('title', 'Forgot Password')
@section('page-style')
{{-- Page Css files --}}
<link rel="stylesheet" href="{{ asset(mix('css/base/pages/authentication.css')) }}">
@endsection
@section('content')
<div class="auth-wrapper auth-basic px-2">
<div class="auth-inner my-2">
<!-- Forgot Password basic -->
<div class="card mb-0">
<div class="card-body">
<a href="#" class="brand-logo">
<img
src="{{@\App\Models\Setting::first()->logo ? App::make('url')->to('/') . '/storage' . \App\Models\Setting::first()->logo : asset('images/logo/logo.png')}}"
class="logo w-75" style="width: 220px" alt="{{config('app.name')}}">
</a>
<h4 class="card-title mb-1 text-center">Forgot Password? 🔒</h4>
<p class="card-text mb-2 text-center">Enter your email and we'll send you instructions to reset your password</p>
@if (session('status'))
<div class="mb-1 text-success">
{{ session('status') }}
</div>
@endif
<form class="auth-forgot-password-form mt-2" method="POST" action="{{ route('password.email') }}">
@csrf
<div class="mb-1">
<label for="forgot-password-email" class="form-label">Email</label>
<input type="text" class="form-control @error('email') is-invalid @enderror" id="forgot-password-email"
name="email" value="{{ old('email') }}" placeholder="john@example.com"
aria-describedby="forgot-password-email" tabindex="1" autofocus />
@error('email')
<span class="invalid-feedback" role="alert">
<strong>{{ $message }}</strong>
</span>
@enderror
</div>
<button type="submit" class="btn btn-primary w-100" tabindex="2">Send reset link</button>
</form>
<p class="text-center mt-2">
@if (Route::has('login'))
<a href="{{ route('login') }}"> <i data-feather="chevron-left"></i> Back to login </a>
@endif
</p>
</div>
</div>
<!-- /Forgot Password basic -->
</div>
</div>
@endsection