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

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

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

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

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

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

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

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

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

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

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

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

@endif
@lang('frontend.profile.changepassword')

@lang('frontend.profile.newpassword'):

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

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

@endif

@lang('frontend.global.confirmpassword'):

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

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

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

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

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

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

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