@extends('layouts.main') @section('content') @if (Auth::check()) @include('parts.already_auth') @else @if ($account->activated)

Please enter the PIN code was sent to your phone number to finish your authentication.

@else

To finish your registration process and set a password please enter the PIN code you just received by SMS.

@endif
{!! Form::open(['route' => 'account.authenticate.phone_confirm']) !!}
{!! Form::label('code', 'Code') !!} {!! Form::hidden('account_id', $account->id) !!} {!! Form::text('code', old('code'), ['class' => 'form-control', 'placeholder' => '1234', 'required']) !!}
{!! Form::submit('Login', ['class' => 'btn btn-primary btn-centered']) !!} {!! Form::close() !!}
@endif @endsection