@extends('layout.dashboard') @section('content')
@includeWhen(isset($sub_menu), 'dashboard.partials.sub-sidebar')
{{ trans('dashboard.metrics.metrics') }} {{ trans('dashboard.metrics.add.title') }}
@include('partials.errors')
@forelse($metrics as $metric)
{{ $metric->name }} @if($metric->description)

{{ Str::words($metric->description, 5) }}

@endif
@empty
{{ trans('dashboard.metrics.add.message') }}
@endforelse
@stop