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

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

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

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

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

@param int|string $id

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