Modules/FormBuilder/Http/Controllers/FormBuilderController.php
/**
     * Display a listing of the resource.
     * @return Renderable
     */
Display a listing of the resource.
@return Renderable
Display a listing of the resource . @return Renderable
public function index(Request $request)
    {
        $title='Form List';
        $description= $this->description;
        $forms =$this->formRepo->getWithPaginate();
        return view('formbuilder::index',compact('title','description','forms'))->with('i', ($request->input('page', 1) - 1) * 5);
    }
public function index ( Request $ request ) { $ title = 'Form List' ; $ description = $ this -> description ; $ forms = $ this -> formRepo -> getWithPaginate ( ) ; return view ( 'formbuilder::index' , compact ( 'title' , 'description' , 'forms' ) ) -> with ( 'i' , ( $ request -> input ( 'page' , 1 ) - 1 ) * 5 ) ; }
Display a listing of the resource.
Display a listing of the resource .