/** * Show the form for editing the specified element. * * @param \FashionDifferent\Element $element * @return \Illuminate\Http\Response */ public function edit(Element $element) { $types = ElementType::lists('plural', 'plural'); return view('elements.edit', compact('element', 'types')); }