@extends('layouts.auth') @section('template_title') {{ trans('auth.register') }} @endsection @section('content')

{{ trans('titles.register') }}

{!! Form::open(['route' => 'register', 'id' => 'register', 'role' => 'form', 'method' => 'POST'] ) !!} {{ csrf_field() }}
{!! Form::text('name', null, array('id' => 'name', 'class' => 'mdl-textfield__input', 'pattern' => '[A-Z,a-z,0-9]*')) !!} {!! Form::label('name', trans('auth.name') , array('class' => 'mdl-textfield__label')); !!} @if ($errors->has('name')){{{ $errors->first('name') }}} @endif
{!! Form::email('email', null, array('id' => 'email', 'class' => 'mdl-textfield__input' )) !!} {!! Form::label('email', trans('auth.email') , array('class' => 'mdl-textfield__label')); !!} @if ($errors->has('email')){{{ $errors->first('email') }}} @endif
{!! Form::text('first_name', null, array('id' => 'first_name', 'class' => 'mdl-textfield__input', 'pattern' => '[A-Z,a-z]*')) !!} {!! Form::label('first_name', trans('auth.first_name') , array('class' => 'mdl-textfield__label')); !!} @if ($errors->has('first_name')){{{ $errors->first('first_name') }}} @endif
{!! Form::text('last_name', null, array('id' => 'last_name', 'class' => 'mdl-textfield__input', 'pattern' => '[A-Z,a-z]*')) !!} {!! Form::label('last_name', trans('auth.last_name') , array('class' => 'mdl-textfield__label')); !!} @if ($errors->has('last_name')){{{ $errors->first('last_name') }}} @endif
{!! Form::password('password', array('id' => 'password', 'class' => 'mdl-textfield__input', 'required' => 'required' )) !!} {!! Form::label('password', trans('auth.password') , array('class' => 'mdl-textfield__label')); !!} @if ($errors->has('password')){{{ $errors->first('password') }}} @endif
{!! Form::password('password_confirmation', array('id' => 'password_confirmation', 'class' => 'mdl-textfield__input', 'required' => 'required' )) !!} {!! Form::label('password_confirmation', trans('auth.confirmPassword') , array('class' => 'mdl-textfield__label')); !!} @if ($errors->has('password_confirmation')){{{ $errors->first('password_confirmation') }}} @endif
@if(config('settings.reCaptchStatus'))
@endif
{!! Form::button(''.trans('auth.register').'
', array('class' => 'mdl-button mdl-js-button mdl-js-ripple-effect center mdl-color--primary mdl-color-text--white mdl-button--raised full-span margin-bottom-1 margin-top-2','type' => 'submit','id' => 'submit')) !!}
{!! Form::close() !!}
@include('partials.socials-icons')
{!! HTML::link(route('password.request'), trans('auth.forgot'), array('id' => 'forgot', 'class' => 'mdl-button mdl-button--colored mdl-js-button mdl-js-ripple-effect left')) !!} {!! HTML::link(url('/login'), trans('auth.login'), array('id' => 'login', 'class' => 'mdl-button mdl-button--colored mdl-js-button mdl-js-ripple-effect right')) !!}
@endsection @section('footer_scripts') @include('scripts.mdl-required-input-fix') @include('scripts.html5-password-match-check') {!! HTML::script('https://www.google.com/recaptcha/api.js', array('type' => 'text/javascript')) !!} @endsection