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

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

@include('flash::message')
{{ csrf_field() }}
  • {{ Form::label('page_member_privacy', trans('socialite::admin.page_member_privacy')) }} {{ Form::select('page_member_privacy', array('members' => trans('socialite::common.members'), 'only_admins' => trans('socialite::admin.only_admins')), Setting::get('page_member_privacy', 'only_admins'), ['class' => 'form-control', 'placeholder' => trans('socialite::admin.please_select')]) }}
  • {{ Form::label('page_timeline_post_privacy', trans('socialite::admin.page_timeline_post_privacy')) }} {{ Form::select('page_timeline_post_privacy', array('everyone' => trans('socialite::common.everyone'), 'only_admins' => trans('socialite::admin.only_admins')) , Setting::get('page_timeline_post_privacy', 'everyone') , ['class' => 'form-control', 'placeholder' => trans('socialite::admin.please_select')]) }}
{{ Form::submit(trans('socialite::common.save_changes'), ['class' => 'btn btn-success']) }}
{{ Form::close() }}

{{ trans('socialite::admin.manage_page_categories') }} {{ trans('socialite::admin.create_category') }}

@foreach($categories as $categorie) @endforeach
{{ trans('socialite::admin.name') }} {{ trans('socialite::common.description') }} {{ trans('socialite::common.status') }} {{ trans('socialite::admin.action') }}
{{ $categorie->name }} {{ str_limit($categorie->description, 50) }} @if($categorie->active == 1) {{ trans('socialite::admin.active') }} @else {{ trans('socialite::admin.inactive') }} @endif
{{ $categories->render() }}
@endsection