@extends('admin.layout') @section('admin-title') Trait Categories @endsection @section('admin-content') {!! breadcrumbs(['Admin Panel' => 'admin', 'Trait Categories' => 'admin/data/trait-categories']) !!}

Trait Categories

This is a list of trait categories that will be used to sort traits in the inventory. Creating trait categories is entirely optional, but recommended if you have a lot of traits in the game.

The sorting order reflects the order in which the trait categories will be displayed in the inventory, as well as on the world pages.

Create New Trait Category
@if (!count($categories))

No trait categories found.

@else @foreach ($categories as $category) @endforeach
@if (!$category->is_visible) @endif {!! $category->displayName !!} Edit
{!! Form::open(['url' => 'admin/data/trait-categories/sort']) !!} {!! Form::hidden('sort', '', ['id' => 'sortableOrder']) !!} {!! Form::submit('Save Order', ['class' => 'btn btn-primary']) !!} {!! Form::close() !!}
@endif @endsection @section('scripts') @parent @endsection