| @@ 39-47 (lines=9) @@ | ||
| 36 | * |
|
| 37 | * @return Content |
|
| 38 | */ |
|
| 39 | public function edit($id) |
|
| 40 | { |
|
| 41 | return Admin::content(function (Content $content) use ($id) { |
|
| 42 | $content->header('header'); |
|
| 43 | $content->description('description'); |
|
| 44 | ||
| 45 | $content->body($this->form()->edit($id)); |
|
| 46 | }); |
|
| 47 | } |
|
| 48 | ||
| 49 | /** |
|
| 50 | * Create interface. |
|
| @@ 39-47 (lines=9) @@ | ||
| 36 | * |
|
| 37 | * @return Content |
|
| 38 | */ |
|
| 39 | public function edit($id) |
|
| 40 | { |
|
| 41 | return Admin::content(function (Content $content) use ($id) { |
|
| 42 | $content->header('header'); |
|
| 43 | $content->description('description'); |
|
| 44 | ||
| 45 | $content->body($this->form()->edit($id)); |
|
| 46 | }); |
|
| 47 | } |
|
| 48 | ||
| 49 | /** |
|
| 50 | * Create interface. |
|
| @@ 39-47 (lines=9) @@ | ||
| 36 | * |
|
| 37 | * @return Content |
|
| 38 | */ |
|
| 39 | public function edit($id) |
|
| 40 | { |
|
| 41 | return Admin::content(function (Content $content) use ($id) { |
|
| 42 | $content->header('header'); |
|
| 43 | $content->description('description'); |
|
| 44 | ||
| 45 | $content->body($this->form()->edit($id)); |
|
| 46 | }); |
|
| 47 | } |
|
| 48 | ||
| 49 | /** |
|
| 50 | * Create interface. |
|
| @@ 40-48 (lines=9) @@ | ||
| 37 | * |
|
| 38 | * @return Content |
|
| 39 | */ |
|
| 40 | public function edit($id) |
|
| 41 | { |
|
| 42 | return Admin::content(function (Content $content) use ($id) { |
|
| 43 | $content->header('Edit user'); |
|
| 44 | $content->description('description'); |
|
| 45 | ||
| 46 | $content->body($this->form()->edit($id)); |
|
| 47 | }); |
|
| 48 | } |
|
| 49 | ||
| 50 | /** |
|
| 51 | * Create interface. |
|