@extends('home') @section('title') @lang('site.site_name') @endsection @section('styles') {!! Html::style(Theme::current()->assetPath.'/pages/css/profile-rtl.min.css') !!} {!! Html::style(Theme::current()->assetPath.'/global/plugins/bootstrap-markdown/css/bootstrap-markdown.min.css') !!} {!! Html::style(Theme::current()->assetPath.'/global/plugins/select2/css/select2.min.css') !!} {!! Html::style(Theme::current()->assetPath.'/global/plugins/select2/css/select2-bootstrap.min.css') !!} {!! Html::style(Theme::current()->assetPath.'/global/plugins/bootstrap-fileinput/bootstrap-fileinput.css') !!} {!! Html::style(Theme::current()->assetPath.'/global/plugins/bootstrap-switch/css/bootstrap-switch-rtl.min.css') !!} {!! Html::style(Theme::current()->assetPath.'/global/plugins/bootstrap-wysihtml5/bootstrap-wysihtml5-rtl.css') !!} @endsection @section('content')
{{ trans('company.PleaseFillAllRequiredData') }}
{!! Form::open(array('route' => ['MenuUpdate',$navigation->id],'method' => 'put' ,'files' => true ,'class' => 'form-horizontal','id' => 'main-form')) !!}
{!! getNodeList($parents,$navigation->id,'parent_id','parent_id','form-control ') !!}
{{ Form::select('page_id', $pages, $navigation->page_id, ['id' => 'page_id', 'class' => 'form-control ','data-placeholder' => __('Select') ]) }}
{{ Form::select('order', $orders, $navigation->id, ['id' => 'order', 'class' => 'form-control ','data-placeholder' => __('Order') ]) }}
{!! Form::close() !!}
@foreach ($menus as $index => $item) @endforeach
Title Status Action
@if ($item->depth > 1) {!! str_repeat('-',$item->depth-1) !!} @endif {{ $item->title }} {{ Form::open(['method' => 'DELETE', 'route' => ['MenuDestroy', $item->id]]) }} {{ Form::close() }}
@endsection @section('scripts') {!! Html::script(Theme::current()->assetPath.'/global/plugins/bootstrap-confirmation/bootstrap-confirmation.min.js') !!} {!! Html::script(Theme::current()->assetPath.'/global/plugins/select2/js/select2.full.min.js') !!} {!! Html::script(Theme::current()->assetPath.'/global/plugins/bootstrap-fileinput/bootstrap-fileinput.js') !!} {!! Html::script(Theme::current()->assetPath.'/global/plugins/bootstrap-markdown/lib/markdown.js') !!} {!! Html::script(Theme::current()->assetPath.'/global/plugins/bootstrap-switch/js/bootstrap-switch.min.js') !!} {!! Html::script(Theme::current()->assetPath.'/global/plugins/bootstrap-markdown/js/bootstrap-markdown.js') !!} {!! Html::script(Theme::current()->assetPath.'/global/plugins/jquery-validation/js/jquery.validate.min.js') !!} {!! Html::script(Theme::current()->assetPath.'/global/plugins/jquery-validation/js/additional-methods.min.js') !!} {!! Html::script(Theme::current()->assetPath.'/pages/scripts/form-validation.js') !!} @endsection