@extends('socialite::layouts.default') @section('content')
@include('socialite::partials/pagemenu-settings', compact('timeline'))

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

@include('flash::message')
{{ csrf_field() }}
{{ Form::label('username', trans('socialite::common.username'), ['class' => 'control-label']) }} {{ Form::text('username', $timeline->username, ['class' => 'form-control', 'placeholder' => trans('socialite::common.username'), 'disabled' => 'disabled']) }} {{ Form::hidden('username', $timeline->username) }}
{{ Form::label('name', trans('socialite::auth.name'), ['class' => 'control-label']) }} {{ Form::text('name', $timeline->name, ['class' => 'form-control', 'placeholder' => trans('socialite::common.name_of_your_page')]) }} @if ($errors->has('name')) {{ $errors->first('name') }} @endif
{{ Form::label('about', trans('socialite::common.about'), ['class' => 'control-label']) }} {{ Form::textarea('about', $timeline->about, ['class' => 'form-control', 'placeholder' => trans('socialite::messages.create_page_placeholder'), 'rows' => '2', 'cols' => '20'])}}
{{ Form::label('address', trans('socialite::common.address'), ['class' => 'control-label']) }} {{ Form::textarea('address', $timeline->page->address, ['class' => 'form-control', 'placeholder' => trans('socialite::common.address_of_your_page'), 'rows' => '5'])}}
{{ Form::label('phone', trans('socialite::common.phone'), ['class' => 'control-label']) }} {{ Form::number('phone', $timeline->page->phone, ['class' => 'form-control', 'placeholder' => trans('socialite::common.phone')]) }}
{{ Form::label('website', trans('socialite::common.website'), ['class' => 'control-label']) }} {{ Form::text('website', $timeline->page->website, ['class' => 'form-control', 'placeholder' => trans('socialite::common.website')]) }}
{{ Form::submit(trans('socialite::common.update_page'), ['class' => 'btn btn-success']) }}
{{ Form::close() }}
@endsection