{!! Theme::partial('usermenu-settings') !!}
@include('flash::message')

{{ trans('common.general_settings') }}

{{ csrf_field() }}
{{ Form::label('username', trans('common.username')) }} {{ Form::text('new_username', Auth::user()->username, ['class' => 'form-control', 'placeholder' => trans('common.username')]) }} @if ($errors->has('username')) {{ $errors->first('username') }} @endif
{{ Form::label('name', trans('common.fullname')) }} {{ Form::text('name', Auth::user()->name, ['class' => 'form-control', 'placeholder' => trans('common.fullname')]) }} @if ($errors->has('name')) {{ $errors->first('name') }} @endif
{{ Form::label('about', trans('common.about')) }} {{ Form::textarea('about', Auth::user()->about, ['class' => 'form-control', 'placeholder' => trans('messages.about_user_placeholder')]) }}
{{ Form::label('email', trans('auth.email_address')) }} {{ Form::email('email', Auth::user()->email, ['class' => 'form-control', 'placeholder' => trans('auth.email_address')]) }} @if ($errors->has('email')) {{ $errors->first('email') }} @endif
{{ Form::label('gender', trans('common.gender')) }} {{ Form::select('gender', array('male' => trans('common.male'), 'female' => trans('common.female'), 'other' => trans('common.none')), Auth::user()->gender, array('class' => 'form-control')) }}
{{ Form::label('country', trans('common.country')) }} {{ Form::text('country', Auth::user()->country, array('class' => 'form-control', 'placeholder' => trans('common.country'))) }}
{{ Form::label('city', trans('common.current_city')) }} {{ Form::text('city', Auth::user()->city, ['class' => 'form-control', 'placeholder' => trans('common.current_city')]) }}

{{ trans('common.personal') }}


{{ Form::label('location', trans('common.location')) }} {{ Form::text('location', Auth::user()->designation, ['class' => 'form-control', 'placeholder' => trans('common.location')]) }}
{{ Form::label('my_network', trans('common.my_network')) }} {{ Form::text('my_network', Auth::user()->my_network, ['class' => 'form-control', 'placeholder' => trans('common.my_network')]) }}
{{ Form::label('occupation', trans('common.occupation')) }} {{ Form::text('occupation', Auth::user()->occupation, ['class' => 'form-control', 'placeholder' => trans('common.occupation')]) }}
{{ Form::label('aspiration', trans('common.aspiration')) }} {{ Form::text('aspiration', Auth::user()->aspiration, ['class' => 'form-control', 'placeholder' => trans('common.aspiration')]) }}
{{ Form::label('role_model', trans('common.role_model')) }} {{ Form::text('role_model', Auth::user()->role_model, ['class' => 'form-control', 'placeholder' => trans('common.role_model')]) }}
{{ Form::label('supported_charity', trans('common.supported_charity')) }} {{ Form::text('supported_charity', Auth::user()->supported_charity, ['class' => 'form-control', 'placeholder' => trans('common.supported_charity')]) }}
{{ Form::label('birthday', trans('common.birthday')) }}
{{ Form::text('birthday', Auth::user()->birthday, ['class' => 'form-control', 'id' => 'datepicker1']) }}
{{ Form::label('designation', trans('common.designation')) }} {{ Form::text('designation', Auth::user()->designation, ['class' => 'form-control', 'placeholder' => trans('common.your_qualification')]) }}
{{ Form::label('hobbies', trans('common.hobbies')) }} {{ Form::text('hobbies', Auth::user()->hobbies, ['class' => 'add_selectize', 'placeholder' => trans('common.mention_your_hobbies')]) }}
{{ Form::label('interests', trans('common.interests')) }} {{ Form::text('interests', Auth::user()->interests, ['class' => 'add_selectize', 'placeholder' => trans('common.add_your_interests')]) }}
@if(Setting::get('custom_option1') != NULL || Setting::get('custom_option2') != NULL)
@if(Setting::get('custom_option1') != NULL)
{{ Form::label('custom_option1', Setting::get('custom_option1')) }} {{ Form::text('custom_option1', Auth::user()->custom_option1, ['class' => 'form-control']) }}
@endif @if(Setting::get('custom_option2') != NULL)
{{ Form::label('custom_option2', Setting::get('custom_option2')) }} {{ Form::text('custom_option2', Auth::user()->custom_option2, ['class' => 'form-control']) }}
@endif
@endif @if(Setting::get('custom_option3') != NULL || Setting::get('custom_option4') != NULL)
@if(Setting::get('custom_option3') != NULL)
{{ Form::label('custom_option3', Setting::get('custom_option3')) }} {{ Form::text('custom_option3', Auth::user()->custom_option3, ['class' => 'form-control']) }}
@endif @if(Setting::get('custom_option4') != NULL)
{{ Form::label('custom_option4', Setting::get('custom_option4')) }} {{ Form::text('custom_option4', Auth::user()->custom_option4, ['class' => 'form-control']) }}
@endif
@endif

{{ trans('common.be_social') }}


{{ Form::label('facebook_link', trans('admin.facebook_link')) }}
{{ Form::label('youtube_link', trans('admin.youtube_link')) }}
{{ Form::label('twitter_link', trans('admin.twitter_link')) }}
{{ Form::label('linkedin_link', trans('admin.linkedin_link')) }}
{{ Form::submit(trans('common.save_changes'), ['class' => 'btn btn-success']) }}

{{ trans('common.update_password') }}

{{ csrf_field() }}
{{ Form::label('current_password', trans('common.current_password')) }} @if ($errors->has('current_password')) {{ $errors->first('current_password') }} @endif
{{ Form::label('new_password', trans('common.new_password')) }} @if($errors->has('new_password')) {{ $errors->first('new_password') }} @endif
{{ Form::submit(trans('common.save_password'), ['class' => 'btn btn-success']) }}