src/Http/Form/Form.php
public function onCreate()
    {
        $this->grid->attributes([
            'url'    => handles('antares::notifications/store'),
            'method' => 'POST',
        ]);
        $layout = ($this->fluent->type == 'sms') ? 'antares/notifications::admin.index.form_sms' : 'antares/notifications::admin.index.form';
        $this->grid->layout($layout, $this->layoutAttributes);
        return $this;
    }
public function onCreate()
    {
        $this->grid->attributes([
            'url'    => handles('antares::notifications/store'),
            'method' => 'POST',
        ]);
        $layout = ($this->fluent->type == 'sms') ? 'antares/notifications::admin.index.form_sms' : 'antares/notifications::admin.index.form';
        $this->grid->layout($layout, $this->layoutAttributes);
        return $this;
    }
public function onCreate ( ) { $ this -> grid -> attributes ( [ 'url' => handles ( 'antares::notifications/store' ) , 'method' => 'POST' , ] ) ; $ layout = ( $ this -> fluent -> type == 'sms' ) ? 'antares/notifications::admin.index.form_sms' : 'antares/notifications::admin.index.form' ; $ this -> grid -> layout ( $ layout , $ this -> layoutAttributes ) ; return $ this ; }
on create scenario

@param String $type
@return \Antares\Notifications\Http\Form\Form
on create scenario