@extends('layouts.admin') @section('content')

Current {{ucwords(str_replace('-',' ',$resource_configs['resourceName']))}}

@if($resource_configs['creatable']===true) Add {{str_singular(ucwords(str_replace('-',' ',$resource_configs['resourceName'])))}} @endif
@foreach($resource_configs['indexFields'] as $attribute) @endforeach @foreach($resources as $resource) @foreach($resource_configs['indexFields'] as $attribute) @endforeach @endforeach
{{ucwords(str_replace('_',' ',$attribute))}} Actions
{{$resource->$attribute}} @if($resource_configs['deletable']) {!!Form::open(['route'=>['admin.'.$resource_configs['resourceName'].'.destroy',$resource->id],'method'=>'DELETE'])!!} Edit {!!Form::close()!!} @else Edit @endif

@stop