@extends('layouts.location_app') @section('title', 'Be Spoke Forms dashboard') @section('content')
Bespoke Forms Templates
@if(request()->query('success'))
{{request()->query('success')}}
@endif @if(request()->query('error'))
{{request()->query('error')}}
@endif {{--
@if(Auth::guard('location')->user()->userCanUpdateSettings()) @endif
--}} @if(count($beSpokeForms) == 0)

No Forms Available.

@else
@if(!Auth::guard('location')->user()->userCanUpdateSettings()) @foreach($beSpokeForms as $beSpokeForm) @endforeach @endif {{-- @else --}} {{-- @foreach($beSpokeForms as $beSpokeForm) @endforeach --}} {{-- @endif --}}
Name Category Type Status Action
{{$beSpokeForm->form->name}} {{$beSpokeForm->form->category->name}} {{$beSpokeForm->form->type}} @if($beSpokeForm->form->is_active) Active @else Inactive @endif Edit | Preview | @if(!count($beSpokeForm->form->records))Delete |@endif {{$beSpokeForm->form->active}} | Records
{{$beSpokeForm->name}} {{$beSpokeForm->category->name}} {{$beSpokeForm->type}} @if($beSpokeForm->is_active) Active @else Inactive @endif Edit | Preview | @if(!count($beSpokeForm->records))Delete |@endif {{$beSpokeForm->active}} | Records
{{-- --}} @endif
@endsection @section('styles') @endsection @section('scripts') @include('location.be_spoke_forms.script') @endsection