@extends('adminlte::layouts.app') @section('htmlheader_title') {{ trans('page Update') }} @endsection @section('contentheader_title') Update Cms Page @endsection @section('main-content')
@foreach ($errors->all() as $error)

{{ $error }}

@endforeach
{!! Form::open(array('url' => ('admin/cms/store'),'method'=>'post', 'files'=>true)) !!}
{!! Form::text('slug', $page->slug, array('class' => 'form-control','placeholder'=>'Enter slug')) !!}
{!! Form::text('title', $page->title, array('class' => 'form-control','placeholder'=>'Enter title')) !!}
{!! Form::textarea('content',$page->content,['class'=>'form-control content', 'rows' => 3, 'cols' => 40,'placeholder'=>'Enter content']) !!}

@if ($page->status == 1) {!! Form::radio('status', '1',['checked' => 'checked'],['class' => 'minimal']) !!} Active {!! Form::radio('status', '0','',['class' => 'minimal']) !!} InActive @else {!! Form::radio('status', '1','',['class' => 'minimal']) !!} Active {!! Form::radio('status', '0',['checked' => 'checked'],['class' => 'minimal']) !!} InActive @endif
{!! Form::close() !!}
@push('scripts') @endpush @endsection