/** * Show the form for editing the specified resource. * * @param int $id * @return \Illuminate\Http\Response */ public function edit($id) { $iva = Iva::findOrFail($id); $pais = Pais::paginate(1000)->lists('name', 'id'); return view('admin/edit_iva_form')->with('pais', $pais)->with('iva', $iva); }