ultimatepos/resources/views/auth/passwords/reset.blade.php

74 lines
4.5 KiB
PHP

@extends('layouts.auth2')
@section('title', __('lang_v1.reset_password'))
@section('content')
<div class="col-md-4">
</div>
<div class="col-md-4 col-xs-12">
<div
class=" tw-p-2 sm:tw-p-3 tw-mb-4 tw-transition-all tw-duration-200 tw-bg-white tw-shadow-sm tw-rounded-xl tw-ring-1 tw-ring-gray-200">
<div class="tw-flex tw-flex-col tw-gap-4 tw-dw-rounded-box tw-dw-p-6 tw-dw-max-w-md">
<h3 class="tw-text-sm tw-font-medium tw-text-gray-500 tw-self-center">@lang('lang_v1.reset_password')</h3>
<form method="POST" action="{{ route('password.request') }}">
{{ csrf_field() }}
<input type="hidden" name="token" value="{{ $token }}">
<div class="form-group has-feedback {{ $errors->has('email') ? ' has-error' : '' }}">
<label class="tw-dw-form-control">
<div class="tw-dw-label">
<span class="tw-text-xs md:tw-text-sm tw-font-medium tw-text-black">@lang('Email')</span>
</div>
<input id="email" type="email" class="tw-border tw-border-[#D1D5DA] tw-outline-none tw-h-12 tw-bg-transparent tw-rounded-lg tw-px-3 tw-font-medium tw-text-black placeholder:tw-text-gray-500 placeholder:tw-font-medium" name="email"
value="{{ $email ?? old('email') }}" required autofocus placeholder="@lang('lang_v1.email_address')">
@if ($errors->has('email'))
<span class="help-block">
<strong>{{ $errors->first('email') }}</strong>
</span>
@endif
</label>
</div>
<div class="form-group has-feedback {{ $errors->has('password') ? ' has-error' : '' }}">
<label class="tw-dw-form-control">
<div class="tw-dw-label">
<span class="tw-text-xs md:tw-text-sm tw-font-medium tw-text-black">@lang('lang_v1.password')</span>
</div>
<input id="password" type="password" class="tw-border tw-border-[#D1D5DA] tw-outline-none tw-h-12 tw-bg-transparent tw-rounded-lg tw-px-3 tw-font-medium tw-text-black placeholder:tw-text-gray-500 placeholder:tw-font-medium" name="password"
required placeholder="@lang('lang_v1.password')">
@if ($errors->has('password'))
<span class="help-block">
<strong>{{ $errors->first('password') }}</strong>
</span>
@endif
</label>
</div>
<div class="form-group has-feedback {{ $errors->has('password_confirmation') ? ' has-error' : '' }}">
<label class="tw-dw-form-control">
<div class="tw-dw-label">
<span class="tw-text-xs md:tw-text-sm tw-font-medium tw-text-black">@lang('business.confirm_password')</span>
</div>
<input id="password" type="password" class="tw-border tw-border-[#D1D5DA] tw-outline-none tw-h-12 tw-bg-transparent tw-rounded-lg tw-px-3 tw-font-medium tw-text-black placeholder:tw-text-gray-500 placeholder:tw-font-medium"
name="password_confirmation" required placeholder="@lang('business.confirm_password')">
@if ($errors->has('password_confirmation'))
<span class="help-block">
<strong>{{ $errors->first('password_confirmation') }}</strong>
</span>
@endif
</label>
</div>
<button type="submit" class="tw-bg-gradient-to-r tw-from-indigo-500 tw-to-blue-500 tw-h-12 tw-rounded-xl tw-text-sm md:tw-text-base tw-text-white tw-font-semibold tw-w-full tw-max-w-full mt-2 hover:tw-from-indigo-600 hover:tw-to-blue-600 focus:tw-outline-none focus:tw-ring-2 focus:tw-ring-blue-500 focus:tw-ring-offset-2 active:tw-from-indigo-700 active:tw-to-blue-700">
@lang('lang_v1.reset_password')</button>
</form>
</div>
</div>
</div>
<div class="col-md-4">
</div>
@endsection