@extends('layouts.app') @section('content')
@include('layouts/partials/status')
@if (auth()->user()->hasRole(\App\Enums\User\RoleEnum::SUPERVISOR->value) || auth()->user()->can_create_form)
@lang('messages.forms') {{ $form_count }}
@if (!auth()->user()->hasRole(\App\Enums\User\RoleEnum::ADMIN->value))
@lang('messages.templates') {{ $template_count }}
@endif
@lang('messages.submissions') {{ $submission_count }}
@endif
@if (auth()->user()->hasRole(\App\Enums\User\RoleEnum::SUPERVISOR->value) || auth()->user()->can_create_form)
@lang('messages.description') @lang('messages.name') @lang('messages.created_at') @lang('messages.submissions') @lang('messages.action')
@if (auth()->user()->can('superadmin')) @endif
@lang('messages.description') @lang('messages.name') @lang('messages.is_global_template') @lang('messages.action')
@endif
@if (auth()->user()->hasRole(\App\Enums\User\RoleEnum::SUPERVISOR->value)) @endif
@lang('messages.description') @lang('messages.name')@lang('messages.created_by')@lang('messages.action')
@endsection @section('footer') @endsection