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

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

{{ csrf_field() }}
{{ Form::select('verified', array('1' => 'Yes','0' => 'No'),$page->verified, ['class' => 'form-control', 'placeholder' => trans('socialite::admin.please_select') ]) }} {{ trans('socialite::admin.verified_page_text') }}
{{ Form::select('active', array('1' => 'Yes','0' => 'No'),$page->active, ['class' => 'form-control', 'placeholder' => trans('socialite::admin.please_select') ]) }} {{ trans('socialite::messages.page_active') }}
{{ trans('socialite::admin.page_name_placeholder') }} @if ($errors->has('name')) {{ $errors->first('name') }} @endif
{{ trans('socialite::admin.page_username_text') }}
{{ Form::select('category_id', array('' => trans('socialite::admin.please_select'))+ $category_options, $page->category_id , array('class' => 'form-control')) }} {{ trans('socialite::admin.page_category_text') }} @if ($errors->has('category_id')) {{ $errors->first('category_id') }} @endif
{{ Form::textarea('about', $timeline->about, ['class' => 'form-control', 'placeholder' => trans('socialite::messages.create_page_placeholder')])}} {{ trans('socialite::admin.page_about_text') }}
{{ trans('socialite::admin.page_address_text') }}
{{ trans('socialite::admin.page_phone_text') }}
{{ trans('socialite::admin.page_website_text') }}

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


{{ Form::select('timeline_post_privacy', array('everyone' => trans('socialite::common.everyone'), 'only_admins' => trans('socialite::admin.only_admins'), 'none' => trans('socialite::common.no_one')), $page->timeline_post_privacy, ['class' => 'form-control'])}} {{ trans('socialite::admin.timeline_post_privacy_page_text') }}
{{ Form::select('member_privacy', array('members' => 'Members','only_admins' => 'Only admins') , $page->member_privacy , ['class' => 'form-control']) }} {{ trans('socialite::admin.add_privacy_text') }}
@endsection