mivita/resources/views/user/delete_account.blade.php
Kevin Adametz 7a040c3e19 06 2022
2022-06-15 18:08:45 +02:00

31 lines
No EOL
1.3 KiB
PHP

@extends('layouts.layout-2')
@section('content')
<div class="card mb-4">
<h5 class="card-header">
{{__('Delete Account')}}
</h5>
<div class="card-body">
<p>{{__('Confirm your identity with your password before proceeding.')}}</p>
{!! Form::open(['url' => route('user_delete_account')]) !!}
<div class="form-group row">
<label class="col-form-label col-sm-2 text-sm-right">{{__('Password')}}*</label>
<div class="col-sm-10">
<input class="form-control {{ $errors->has('old_password') ? 'is-invalid' : '' }}" type="password" name="old_password" placeholder="{{__('Password')}}*" required>
@if ($errors->has('old_password'))
<span class="invalid-feedback" role="alert">
<strong>{{ $errors->first('old_password') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group row">
<div class="col-sm-10 ml-sm-auto">
<button type="submit" class="btn btn-danger">{{__('Delete Account')}}</button>
</div>
</div>
{!! Form::close() !!}
</div>
</div>
@endsection