@extends('socialite::layouts.default') @section('content')
@include('socialite::partials/usermenu-settings')
@include('flash::message')

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

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

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


{{ Form::label('birthday', trans('socialite::common.birthday')) }}
{{ Form::text('birthday', Auth::user()->birthday, ['class' => 'form-control', 'id' => 'datepicker1']) }}
{{ Form::label('designation', trans('socialite::common.designation')) }} {{ Form::text('designation', Auth::user()->designation, ['class' => 'form-control', 'placeholder' => trans('socialite::common.your_qualification')]) }}
{{ Form::label('hobbies', trans('socialite::common.hobbies')) }} {{ Form::text('hobbies', Auth::user()->hobbies, ['class' => 'add_selectize', 'placeholder' => trans('socialite::common.mention_your_hobbies')]) }}
{{ Form::label('interests', trans('socialite::common.interests')) }} {{ Form::text('interests', Auth::user()->interests, ['class' => 'add_selectize', 'placeholder' => trans('socialite::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('socialite::common.be_social') }}


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

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

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