flexisip-account-manager/flexiapi/resources/views/account/delete.blade.php
Timothée Jaussoin 30fcf9792f Update wording
Send a confirmation email when the password is set for the first time
Remove the API link from the menu and move it to the footer
Allow different domains to be set in the POST /api/accounts endpoints + related tests
Cleanup the API tests
Update the dependencies
2020-09-14 11:55:07 +02:00

22 lines
No EOL
681 B
PHP

@extends('layouts.account')
@section('content')
<h2>Delete my account</h2>
{!! Form::open(['route' => 'account.destroy', 'method' => 'delete']) !!}
<p>You are going to permanently delete your account.</p>
<p>Please enter your username <b>{{ $account->identifier }}</b> to confirm.</p>
<div class="form-group">
{!! Form::label('identifier', 'Username') !!}
{!! Form::text('identifier', old('identifier'), ['class' => 'form-control', 'placeholder' => 'bob@example.net', 'required']) !!}
</div>
{!! Form::hidden('identifier_confirm', $account->identifier) !!}
{!! Form::submit('Delete', ['class' => 'btn btn-danger btn-centered']) !!}
{!! Form::close() !!}
@endsection