How to recreate backpack table on a separate html view? #832
-
crud controller
I got a field like this. table_overview.blade.php
` It works, but the table styling isn't the same with backpack, This is just a workaround, I'm not sure if my implementation is the right way. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Is your custom view inside the admin area (inside Backpack)? If so, you can use the same view that Backpack uses for the basic functionality: @extends(backpack_view('blank'))
@section('content')
@endsection This is just the empty skeleton, you can see real examples here: Create view (this is simpler view), List view (this one has sections for styles and scripts). Since you want to load a specific field, Create view would be closer to your requirements. There is an older StackOverflow discussion for Backpack 4, which might also give you some hints. |
Beta Was this translation helpful? Give feedback.
Is your custom view inside the admin area (inside Backpack)? If so, you can use the same view that Backpack uses for the basic functionality:
This is just the empty skeleton, you can see real examples here: Create view (this is simpler view), List view (this one has sections for styles and scripts). Since you want to load a specific field, Create view would be closer to your requirements.
There is an older StackOverflow discussion for Backpack 4, which might also give you some hints.