@extends('socialite::layouts.admin') @section('content')
@include('flash::message')

{{ trans('socialite::admin.edit_user') }} ({{$timeline->name}})

{{ csrf_field() }}
{{ Form::label('verified', trans('socialite::admin.verified'), ['class' => 'control-label']) }} {{ Form::select('verified', array('1' => trans('socialite::common.yes'), '0' => trans('socialite::common.no')) , $user->verified , ['class' => 'form-control']) }} {{ trans('socialite::admin.verified_user_text') }}
{{ Form::label('username', trans('socialite::common.username'), ['class' => 'control-label']) }} {{ trans('socialite::admin.user_username_text') }} @if ($errors->has('username')) {{ $errors->first('username') }} @endif
{{ Form::label('name', trans('socialite::common.fullname'), ['class' => 'control-label']) }} {{ trans('socialite::admin.user_name_text') }} @if ($errors->has('name')) {{ $errors->first('name') }} @endif
{{ Form::label('email', trans('socialite::auth.email_address'), ['class' => 'control-label']) }} {{ trans('socialite::admin.user_email_text') }} @if ($errors->has('email')) {{ $errors->first('email') }} @endif
{{ Form::label('gender', trans('socialite::common.gender'), ['class' => 'control-label']) }} {{ Form::select('gender', array('male' => trans('socialite::common.male'),'female' => trans('socialite::common.female'),'other' => trans('socialite::common.other')) , $user->gender , ['class' => 'form-control']) }} {{ trans('socialite::admin.user_gender_text') }}
{{ Form::label('country', trans('socialite::common.country'), ['class' => 'control-label']) }} {{ trans('socialite::admin.user_country_text') }}
{{ Form::label('city', trans('socialite::common.current_city'), ['class' => 'control-label']) }} {{ trans('socialite::admin.user_city_text') }}
{{ Form::label('about', trans('socialite::common.about'), ['class' => 'control-label']) }} {{ Form::textarea('about', $timeline->about, ['class' => 'form-control', 'placeholder' => trans('socialite::common.about')])}} {{ trans('socialite::admin.user_about_text') }}

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


{{ Form::label('birthday', trans('socialite::common.birthday'), ['class' => 'control-label']) }}
{{ Form::label('designation', trans('socialite::common.designation')) }} {{ Form::text('designation', $user->designation, ['class' => 'form-control', 'placeholder' => trans('socialite::common.your_qualification')]) }}
{{ Form::label('hobbies', trans('socialite::common.hobbies')) }} {{ Form::text('hobbies', $user->hobbies, ['class' => 'add_selectize', 'placeholder' => trans('socialite::common.mention_your_hobbies')]) }}
{{ Form::label('interests', trans('socialite::common.interests')) }} {{ Form::text('interests', $user->interests, ['class' => 'add_selectize', 'placeholder' => trans('socialite::common.add_your_interests')]) }}

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


{{ Form::label('confirm_follow', trans('socialite::admin.confirm_followers'), ['class' => 'control-label']) }} {{ Form::select('confirm_follow', array('no' => trans('socialite::common.no'),'yes' => trans('socialite::common.yes')) , $user_settings->confirm_follow , ['class' => 'form-control']) }} {{ trans('socialite::admin.confirm_follow') }}
{{ Form::label('follow_privacy', trans('socialite::admin.follow_privacy_label'), ['class' => 'control-label']) }} {{ Form::select('follow_privacy', array('everyone' => trans('socialite::common.everyone'),'only_follow' => trans('socialite::admin.only_follow')) , $user_settings->follow_privacy , ['class' => 'form-control']) }} {{ trans('socialite::admin.follow_privacy') }}
{{ Form::label('post_privacy', trans('socialite::admin.post_privacy_label'), ['class' => 'control-label']) }} {{ Form::select('post_privacy', array('everyone' => trans('socialite::common.everyone'),'only_follow' => trans('socialite::admin.only_follow')) , $user_settings->post_privacy , ['class' => 'form-control']) }} {{ trans('socialite::admin.post_privacy') }}
{{ Form::label('timeline_post_privacy', trans('socialite::admin.user_timeline_post_privacy_label'), ['class' => 'control-label']) }} {{ Form::select('timeline_post_privacy', array('everyone' => trans('socialite::common.everyone'),'only_follow' => trans('socialite::admin.only_follow'), 'none' => trans('socialite::common.no_one')) , $user_settings->timeline_post_privacy , ['class' => 'form-control']) }} {{ trans('socialite::admin.user_timeline_post_privacy') }}
{{ Form::label('comment_privacy', trans('socialite::admin.comment_privacy_label'), ['class' => 'control-label']) }} {{ Form::select('comment_privacy', array('everyone' => trans('socialite::common.everyone'),'only_follow' => trans('socialite::admin.only_follow')) , $user_settings->comment_privacy , ['class' => 'form-control']) }} {{ trans('socialite::admin.comment_privacy') }}
{{ csrf_field() }}

{{ trans('socialite::common.update_password') }} ({{ $timeline->name }})

{{ Form::label('new_password', trans('socialite::common.new_password'), ['class' => 'control-label']) }} {{ trans('socialite::common.new_password_text') }} @if ($errors->has('password')) {{ $errors->first('password') }} @endif
{{ Form::label('password_confirmation', trans('socialite::common.confirm_password'), ['class' => 'control-label']) }} {{ trans('socialite::common.confirm_password_text') }} @if ($errors->has('password_confirmation')) {{ $errors->first('password_confirmation') }} @endif
@endsection