@extends('admin.layouts.workspace') @section('page-title') Menu Location @stop @section( 'master-script' ) @parent @stop @section('workspace-content')

Menu Location List of Menu Locations 

@include('admin.components.alertMessage')

All Menu Locations

@if(!$menuLocations->isEmpty()) @foreach($menuLocations as $menuLocation) @endforeach
Title Name
{{$menuLocation->title}} {{$menuLocation->name}} {!! Form::open(array('route' => array('admin.menuLocation.delete', $menuLocation->id), 'method' => 'delete')) !!}   Add Menu   {!! Form::close() !!}
@else

No Menu Locations

@endif

Menu Location @if(!empty($menuLocation)) Add New @endif

{!! Form::open(['route' => $form['route'], 'method' => $form['method']]) !!}
{!! Form::text('title', $form['data']['title'], ['class' => 'form-control', 'id' => 'title', 'data-target' => 'name']) !!} @if($errors->has('title'))

{{$errors->first('title')}}

@endif
{!! Form::text('name', $form['data']['name'], ['class' => 'form-control', 'id' => 'name']) !!} @if($errors->has('name'))

{{$errors->first('name')}}

@endif
{!! Form::submit('Save', ['class' => 'btn btn-primary']) !!}
{!! Form::close() !!}
@stop