ldc-web/resources/views/otp-delete.blade.php
2022-09-21 11:17:58 +00:00

8 lines
435 B
PHP

<form class="d-inline confirmDeleteJS" method="POST" action="{{ $route }}">
@csrf
@method('DELETE')
{{ __('Code OTP') }} :
<input type="text" name="otp" maxlength="6" oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*?)\..*/g, '$1');" required>
<button class="btn btn-danger">{{ __('Supprimer') }}</button>
</form>
<a href="{{ route('auth.sms-otp') }}" class="btn btn-link">{{ __('SMS') }}</a>