@extends('layouts.app')
@section('title')
{!! trans('action.view_context', ['context' => $context->displayName()]) !!}
@stop
@section('content')
{!! trans('action.view_context', ['context' => $context->displayName()]) !!}
@include('fragments.crud.view', [
'context' => $context
])
{{ trans_choice('context.list_' . $options->context(), $options_page->total(), [
'count' => $options_page->total()
]) }}
@include('fragments.crud.index', [
'context' => $options,
'page' => $options_page
])
@if (Route::has($options->context('%s.add')))
@lang('action.add_context', ['context' => trans('context.' . $options->context())])
@endif
@endsection