@extends('world.layout')
@section('world-title')
Trait Categories
@endsection
@section('content')
{!! breadcrumbs(['World' => 'world', 'Trait Categories' => 'world/trait-categories']) !!}
Trait Categories
{!! Form::open(['method' => 'GET', 'class' => 'form-inline justify-content-end']) !!}
{!! Form::text('name', Request::get('name'), ['class' => 'form-control']) !!}
{!! Form::submit('Search', ['class' => 'btn btn-primary']) !!}
{!! Form::close() !!}
{!! $categories->render() !!}
@foreach ($categories as $category)
@include('world._entry', [
'edit' => [
'object' => $category,
'title' => 'Category',
],
'imageUrl' => $category->categoryImageUrl,
'name' => $category->displayName,
'description' => $category->parsed_description,
'searchUrl' => $category->searchUrl,
'visible' => $category->is_visible,
])
@endforeach
{!! $categories->render() !!}
{{ $categories->total() }} result{{ $categories->total() == 1 ? '' : 's' }} found.
@endsection