@extends('layouts.main') @section('content') @if (Auth::check()) @include('parts.already_auth') @else {!! Form::open(['route' => 'account.authenticate']) !!}
@if (config('app.phone_authentication')) {!! Form::label('username', 'Username or phone number') !!} {!! Form::text('username', old('username'), ['class' => 'form-control', 'placeholder' => 'username or phone number', 'required']) !!} @else {!! Form::label('username', 'Username') !!} {!! Form::text('username', old('username'), ['class' => 'form-control', 'placeholder' => 'username', 'required']) !!} @endif
{!! Form::label('password', 'Password') !!} {!! Form::password('password', ['class' => 'form-control', 'placeholder' => 'myPassword', 'required']) !!}
{!! Form::submit('Login', ['class' => 'btn btn-primary btn-centered mt-1']) !!} {!! Form::close() !!} @include('parts.password_recovery') @endif @if (config('app.public_registration'))

No account yet? Register

@endif @endsection