@extends('layouts.app', ['title' => __('Food Templates')]) @section('admin_title') {{ __('Food Templates') }} @endsection @section('content')

{{ __('Food Templates') }}

{{ __('Pick a template to instantly set up your categories, menu items, photos, and ingredients. You can then edit, add, or remove anything from your own Menu and Categories pages.') }}

@if (session('success')) @endif @if (session('error')) @endif
@forelse($templates as $template) @php($alreadyApplied = in_array($template->id, $appliedTemplateIds))
{{ $template->name }}

{{ __('Includes ready-made categories, menu items, photos, and ingredient options for a') }} {{ $template->name }} {{ __('restaurant.') }}

@if($alreadyApplied)
@csrf @method('DELETE')
@else
@csrf
@endif
@empty
{{ __('No templates are available for your cuisine type yet.') }}
@endforelse
@endsection