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

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

@if(isset($message))
{{ $message }}
@endif
{{ csrf_field() }}
{{ Form::label('category', trans('socialite::common.category'), ['class' => 'control-label']) }} {{ Form::select('category', array('' => trans('socialite::common.select_category'))+ $category_options, '', array('class' => 'form-control')) }} @if ($errors->has('category')) {{ $errors->first('category') }} @endif
{{ Form::label('name', trans('socialite::auth.name'), ['class' => 'control-label']) }} {{ Form::text('name', old('name'), ['class' => 'form-control', 'placeholder' => trans('socialite::common.name_of_your_page')]) }} @if ($errors->has('name')) {{ $errors->first('name') }} @endif
{{ Form::label('username', trans('socialite::common.username'), ['class' => 'control-label']) }} {{ Form::text('username', old('username'), ['class' => 'form-control','maxlength' => '26', 'placeholder' => trans('socialite::common.username')]) }} @if ($errors->has('username')) {{ $errors->first('username') }} @endif
{{ Form::label('about', trans('socialite::common.about'), ['class' => 'control-label']) }} {{ Form::textarea('about', old('about'), ['class' => 'form-control', 'placeholder' => trans('socialite::messages.create_page_placeholder'), 'rows' => '4', 'cols' => '20']) }}
{{ Form::submit(trans('socialite::common.create_page'), ['class' => 'btn btn-success']) }}

{{ trans('socialite::common.about').' '.trans('socialite::common.pages') }}

  • {{ Form::label('about_page_heading1', trans('socialite::messages.about_page_heading1'), ['class' => 'right-side-label']) }}
    {{ trans('socialite::messages.about_page_content1') }}
  • {{ Form::label('about_page_heading2', trans('socialite::messages.about_page_heading2'), ['class' => 'right-side-label']) }}
    {{ trans('socialite::messages.about_page_content2') }}
@if(Setting::get('createpage_ad') != NULL) @endif
@endsection