@extends('layouts.app')

@section('content')
    <form method="POST" action="{{ route('updatewo', ['workOrder' => $workOrder]) }}">
        @csrf
        @method('PUT')

        <label for="probdesc">Problem Description</label>
        <input id="proddesc" type="textarea" name="probdesc" value="{{ $workOrder->probdesc }}" autofocus>

        <label for="suggested">Suggested Solution</label>
        <input id="suggested" type="textarea" name="suggested" value="{{ $workOrder->suggested }}" autofocus>

        <button type="submit">
            Update
        </button>
@endsection
