ID | Username | Firstname | Lastname | Actions |
---|
class Actionname extends \Phpdt\Ldt\InsertAction { //The path to blade template that will appears after clicking on the add button var $formview = 'your.blade.template'; //End point function after_submit_form(){ //Do any thing here //to get the data was sent use: //$this->request } static function add_button($id,$actionclass) { '<a class="btn">Action add button </a>'; } }
add_button(): method in the action class to render Adding Button.
By: Mohammad Alaa Aldeen
Git: https://github.com/mhdalaaaldeen