@extends('layouts.app') @section('content')

Instructions List

@foreach ($instructions as $instruction) @endforeach
Title Background Day Num Action
{{ $instruction->vTitle }} @if ($instruction->vBackgroundImg) {{ $instruction->vTitle }} @else No Image @endif @if ($instruction->day) {{ $instruction->day->vDay }} @endif {{ $instruction->Num }} @if (Auth::guard('admin')->user()->bContent == 1) @endif

{{ isset($selectedInstruction) ? 'Edit' : 'Create' }} Instruction

@csrf
@error('iDayID') {{ $message }} @enderror
@error('vTitle') {{ $message }} @enderror
Image Link Must be under 100KB. Only jpg format is allowed. @error('vBackgroundImg') {{ $message }} @enderror
@error('Num') {{ $message }} @enderror

@if (Auth::guard('admin')->user()->bContent == 1) @endif
@endsection @push('scripts') @endpush