2020-03-13 22:17:08 +01:00
|
|
|
@extends('portal.ninja2020.layout.clean')
|
|
|
|
@section('meta_title', ctrans('texts.password_reset'))
|
|
|
|
|
|
|
|
@section('body')
|
|
|
|
<div class="flex h-screen">
|
|
|
|
<div class="m-auto md:w-1/3 lg:w-1/5">
|
2021-05-13 12:49:28 +02:00
|
|
|
|
2021-05-27 01:14:21 +02:00
|
|
|
@if($account && !$account->isPaid())
|
2021-05-13 12:49:28 +02:00
|
|
|
<div>
|
|
|
|
<img src="{{ asset('images/invoiceninja-black-logo-2.png') }}" class="border-b border-gray-100 h-18 pb-4" alt="Invoice Ninja logo">
|
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
|
2020-03-13 22:17:08 +01:00
|
|
|
<div class="flex flex-col">
|
|
|
|
<h1 class="text-center text-3xl">{{ ctrans('texts.password_reset') }}</h1>
|
|
|
|
@if(session('status'))
|
|
|
|
<div class="alert alert-success mt-2">
|
|
|
|
{{ session('status') }}
|
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
<form action="{{ route('password.update') }}" method="post" class="mt-6">
|
|
|
|
@csrf
|
|
|
|
<input type="hidden" name="token" value="{{ $token }}">
|
2023-10-02 08:20:26 +02:00
|
|
|
@if(request()->has('react') && request()->react == 'true')
|
|
|
|
<input type="hidden" name="react" value="true">
|
|
|
|
@endif
|
2020-03-13 22:17:08 +01:00
|
|
|
<div class="flex flex-col">
|
|
|
|
<label for="email" class="input-label">{{ ctrans('texts.email_address') }}</label>
|
|
|
|
<input type="email" name="email" id="email"
|
|
|
|
class="input"
|
|
|
|
value="{{ $email ?? old('email') }}"
|
|
|
|
autofocus>
|
|
|
|
@error('email')
|
|
|
|
<div class="validation validation-fail">
|
|
|
|
{{ $message }}
|
|
|
|
</div>
|
|
|
|
@enderror
|
|
|
|
</div>
|
|
|
|
<div class="flex flex-col mt-4">
|
|
|
|
<label for="password" class="input-label">{{ ctrans('texts.password') }}</label>
|
|
|
|
<input type="password" name="password" id="password"
|
|
|
|
class="input"
|
|
|
|
autofocus>
|
|
|
|
@error('password')
|
|
|
|
<div class="validation validation-fail">
|
|
|
|
{{ $message }}
|
|
|
|
</div>
|
|
|
|
@enderror
|
|
|
|
</div>
|
|
|
|
<div class="flex flex-col mt-4">
|
2020-06-26 14:22:29 +02:00
|
|
|
<label for="password" class="input-label">{{ ctrans('texts.password_confirmation') }}</label>
|
2020-03-13 22:17:08 +01:00
|
|
|
<input type="password" name="password_confirmation" id="password_confirmation"
|
|
|
|
class="input"
|
|
|
|
autofocus>
|
|
|
|
@error('password_confirmation')
|
|
|
|
<div class="validation validation-fail">
|
|
|
|
{{ $message }}
|
|
|
|
</div>
|
|
|
|
@enderror
|
|
|
|
</div>
|
|
|
|
<div class="mt-5">
|
2020-10-27 16:04:28 +01:00
|
|
|
<button class="button button-primary button-block bg-blue-600">{{ ctrans('texts.complete') }}</button>
|
2020-03-13 22:17:08 +01:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endsection
|