@if(session()->has('page_updated')) @endif @include('includes.form_errors') {!! Form::model($page, ['method'=>'patch', 'action'=>['ManagePagesController@update', $page->id], 'onsubmit'=>'submit_button.disabled = true; submit_button.value = "' . __('Please Wait...') . '"; return true;']) !!}
{!! Form::label('title', __('Title:')) !!} {!! Form::select('title', ['About Us'=>__('About Us'), 'Terms and Conditions'=>__('Terms & Conditions'), 'Cancellation / Refund policy'=>__('Cancellation / Refund policy'), 'Privacy Policy'=>__('Privacy Policy')], $page->title, ['class'=>'form-control selectpicker', 'data-style'=>'btn-default']) !!}
{!! Form::label('content', __('Content:')) !!} {!! Form::textarea('content', null, ['class'=>'form-control', 'placeholder'=>__('Enter page content')]) !!}
{!! Form::label('priority', __('Priority:')) !!} {!! Form::number('priority', null, ['class'=>'form-control', 'placeholder'=>__('Enter priority'), 'min'=>'1']) !!}
{!! Form::label('status', __('Status:')) !!} {!! Form::select('status', [0=>__('inactive'), 1=>__('active')], $page->is_active, ['class'=>'form-control selectpicker', 'data-style'=>'btn-default']) !!}
@include('partials.manage.meta-fields')
{!! Form::submit(__('Update'), ['class'=>'btn btn-primary col-xs-6 col-sm-6 pull-left', 'name'=>'submit_button']) !!}
{!! Form::close() !!}