@extends('admin.layouts.app') @section('title', 'Level') @section('content')

{{ __('Level') }}

@can('level-create')

Create Level

@csrf @method('POST')
@include('admin.partials.form-errors', array('field' => 'name'))
@endcan

Levels

@foreach($levels as $c) @endforeach
Name Actions
{{$c->name}} @can('level-edit') Edit @endcan @can('level-delete') {!! Form::open(['method' => 'DELETE','route' => ['level.destroy', $c->id],'style'=>'display:inline', 'onsubmit' => 'return confirm("Are you sure you want to delete this Record?")']) !!} {!! Form::submit('Delete', ['class' => 'btn btn-danger btn-sm']) !!} {!! Form::close() !!} @endcan
@endsection