/**
  * Set the active action.
  */
 public function handle()
 {
     $options = $this->builder->getFormOptions();
     $actions = $this->builder->getFormActions();
     if ($action = $actions->findBySlug(app('request')->get($options->get('prefix') . 'action'))) {
         $action->setActive(true);
     }
     if (!$action && ($action = $actions->first())) {
         $action->setActive(true);
     }
 }
 /**
  * Handle the command.
  *
  * @param ResponseFactory $response
  */
 public function handle(ResponseFactory $response)
 {
     $options = $this->builder->getFormOptions();
     $data = $this->builder->getFormData();
     $this->builder->setFormResponse($response->view($options->get('wrapper_view'), $data));
 }