{{-- CityHub - Register --}}
{{ Form::open(array('route' => 'postRegister', 'autocomplete' => 'off', 'role' => 'form', 'class' => 'form-container')) }}

{{ Lang::get('register.title') }}

{{ Form::email('email', null, array('id' => 'email', 'class' => 'form-control', 'required', 'autofocus')) }} @if (isset($errors) && ($errors->first('email') != '' || $errors->first('email') != null))

{{ $errors->first('email') }}

@endif
{{ Form::password('password', array('id' => 'password', 'class' => 'form-control', 'required')) }} @if (isset($errors) && ($errors->first('password') != '' || $errors->first('password') != null))

{{ $errors->first('password') }}

@endif
{{ Form::password('repeat_password', array('id' => 'repeat_password', 'class' => 'form-control', 'required')) }} @if (isset($errors) && ($errors->first('repeat_password') != '' || $errors->first('repeat_password') != null))

{{ $errors->first('repeat_password') }}

@endif

{{ Form::text('first_name', null, array('id' => 'first_name', 'class' => 'form-control', 'required')) }} @if (isset($errors) && ($errors->first('first_name') != '' || $errors->first('first_name') != null))

{{ $errors->first('first_name') }}

@endif
{{ Form::text('last_name', null, array('id' => 'last_name', 'class' => 'form-control', 'required')) }} @if (isset($errors) && ($errors->first('last_name') != '' || $errors->first('last_name') != null))

{{ $errors->first('last_name') }}

@endif

{{ Form::select('language', $languages, null, array('id' => 'language', 'class' => 'form-control', 'required')) }} @if (isset($errors) && ($errors->first('language') != '' || $errors->first('language') != null))

{{ $errors->first('language') }}

@endif

{{ Form::button(' ' . Lang::get('register.submit_button'), array('class' => 'btn btn-primary', 'type' => 'submit')) }}


{{ Form::close() }}