@lang('common.name')
{{ Form::text('name', null, ['class' => 'form-control']) }}
@if ($errors->has('name'))

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

@endif
@lang('common.email')
{{ Form::text('email', null, ['class' => 'form-control']) }}
@if ($errors->has('email'))

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

@endif
@lang('common.airline')
{{ Form::select('airline_id', $airlines, null , ['class' => 'form-control select2']) }}
@if ($errors->has('airline_id'))

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

@endif
@lang('airports.home')
{{ Form::select('home_airport_id', $airports, null , ['class' => 'form-control select2']) }}
@if ($errors->has('home_airport_id'))

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

@endif
@lang('common.country')
{{ Form::select('country', $countries, null, ['class' => 'form-control select2' ]) }}
@if ($errors->has('country'))

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

@endif
@lang('common.timezone')
{{ Form::select('timezone', $timezones, null, ['class' => 'form-control select2' ]) }}
@if ($errors->has('timezone'))

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

@endif
@lang('profile.changepassword')

@lang('profile.newpassword'):

{{ Form::password('password', ['class' => 'form-control']) }}
@if ($errors->has('password'))

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

@endif

@lang('passwords.confirm'):

{{ Form::password('password_confirmation', ['class' => 'form-control']) }}
@if ($errors->has('password_confirmation'))

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

@endif
@lang('profile.avatar')
{{ Form::file('avatar', null) }}

@lang('profile.avatarresize', [ 'width' => config('phpvms.avatar.width'), 'height' => config('phpvms.avatar.height')])

@if ($errors->has('avatar'))

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

@endif
@lang('profile.opt-in')
{{ Form::hidden('opt_in', 0, false) }} {{ Form::checkbox('opt_in', 1, null) }}

@lang('profile.opt-in-descrip')

{{ Form::submit(__('profile.updateprofile'), ['class' => 'btn btn-primary']) }}