public function edit($id)
    {
        $status = $this->status->findOrFail($id);

        $form = $this->presenter->form($status);

        return view('work-orders.statuses.edit', compact('form'));
    }
public function edit($id)
    {
        $status = $this->status->findOrFail($id);

        $form = $this->presenter->form($status);

        return view('work-orders.statuses.edit', compact('form'));
    }
public function edit ( $ id ) { $ status = $ this -> status -> findOrFail ( $ id ) ; $ form = $ this -> presenter -> form ( $ status ) ; return view ( 'work-orders.statuses.edit' , compact ( 'form' ) ) ; }
Displays the form for editing the specified status.

@param int|string $id

@return \Illuminate\View\View
Displays the form for editing the specified status .