@extends('front.template') @section('main')
@if(session()->has('error')) @include('partials/error', ['type' => 'danger', 'message' => session('error')]) @endif

{{ trans('front/login.connection') }}


{{ trans('front/login.text') }}

{!! Form::open(['url' => 'auth/login', 'method' => 'post', 'role' => 'form']) !!}
{!! Form::control('text', 6, 'log', $errors, trans('front/login.log')) !!} {!! Form::control('password', 6, 'password', $errors, trans('front/login.password')) !!} {!! Form::submit(trans('front/form.send'), ['col-lg-12']) !!} {!! Form::check('memory', trans('front/login.remind')) !!} {!! Form::text('address', '', ['class' => 'hpet']) !!}
{!! link_to('password/email', trans('front/login.forget')) !!}
{!! Form::close() !!}

{{ trans('front/login.register') }}


{{ trans('front/login.register-info') }}

{!! link_to('auth/register', trans('front/login.registering'), ['class' => 'btn btn-default']) !!}
@stop