@extends('layouts.main') @section('main-container')
Edit Exercise
@csrf @method('PUT')
Exercise Title
exerciseName) }}" required > @error('exerciseName')
{{ $message }}
@enderror
Exercise Instruction
{{ old("exerciseInfo", $exercise->exerciseInfo) }}
@error('exerciseInfo')
{{ $message }}
@enderror
Parameter 1
@foreach ($getParameters as $getParameterKey => $getParameter)
selectionBox1 == $getParameterKey) selected @endif>{{ $getParameter }}
@endforeach
@error('selectionBox1')
{{ $message }}
@enderror
Parameter 2
@foreach ($getParameters as $getParameterKey => $getParameter)
selectionBox2 == $getParameterKey) selected @endif>{{ $getParameter }}
@endforeach
@error('selectionBox2')
{{ $message }}
@enderror
Reference Max
@foreach ($getParameters as $getParameterKey => $getParameter)
reference_max == $getParameterKey) selected @endif>{{ $getParameter }}
@endforeach
@error('reference_max')
{{ $message }}
@enderror
Calculator
is_calculator == "0") selected @endif>Off
is_calculator == "1") selected @endif>On
@error('is_calculator')
{{ $message }}
@enderror
@if (!empty($ExerciseVideos)) @foreach ($ExerciseVideos as $key => $item) @if ($key == 0)
Video Title
Video URL
@else
Video Title
Video URL
Remove
@endif @endforeach @endif
+ Add
Submit
@endsection