@extends('layouts.app') @section('title', __('superadmin::lang.superadmin') . ' | ' . __('superadmin::lang.edit_page')) @section('content')

@lang('superadmin::lang.edit_page')

{!! Form::open(['url' => action('\Modules\Superadmin\Http\Controllers\PageController@update', $page->id), 'method' => 'put', 'id' => 'add_page_form']) !!}
{!! Form::label('title', __('superadmin::lang.page_title').':') !!} {!! Form::text('title', $page->title, ['class' => 'form-control', 'placeholder' => __('superadmin::lang.page_title')]); !!}
{!! Form::label('slug', __('superadmin::lang.slug').':') !!} {!! Form::text('slug', $page->slug, ['class' => 'form-control', 'placeholder' => __('superadmin::lang.slug'), 'required']); !!}
{!! Form::label('menu_order', __('superadmin::lang.menu_order').':') !!} @show_tooltip(__('superadmin::lang.menu_order_tooltip')) {!! Form::number('menu_order', $page->menu_order, ['class' => 'form-control', 'placeholder' => __('superadmin::lang.menu_order')]); !!}
{!! Form::label('content', __('superadmin::lang.page_content').':') !!} {!! Form::textarea('content', $page->content, ['class' => 'form-control', 'placeholder' => __('superadmin::lang.page_content')]); !!}
{!! Form::close() !!}
@endsection @section('javascript') @include('superadmin::pages.form_script') @endsection