@extends('laravel2step::layouts.app') @section('title') {{ trans('laravel2step::laravel-verification.title') }} @endsection @php switch ($remainingAttempts) { case 0: case 1: $remainingAttemptsClass = 'danger'; break; case 2: $remainingAttemptsClass = 'warning'; break; case 3: $remainingAttemptsClass = 'info'; break; default: $remainingAttemptsClass = 'success'; break; } @endphp @section('content')

{{ trans('laravel2step::laravel-verification.title') }}

{{ trans('laravel2step::laravel-verification.subtitle') }}

@if ($errors->has('v_input_1')) {{ $errors->first('v_input_1') }} @endif
@if ($errors->has('v_input_2')) {{ $errors->first('v_input_2') }} @endif
@if ($errors->has('v_input_3')) {{ $errors->first('v_input_3') }} @endif
@if ($errors->has('v_input_4')) {{ $errors->first('v_input_4') }} @endif

{{ $remainingAttempts }} {{ trans_choice('laravel2step::laravel-verification.attemptsRemaining', $remainingAttempts) }}

@endsection @section('foot') @php $minutesToExpire = config('laravel2step.laravel2stepExceededCountdownMinutes'); $hoursToExpire = $minutesToExpire / 60; @endphp @include('laravel2step::scripts.input-parsing-auto-stepper'); @endsection