public function createInline($model = null, array $options = [])
    {
        $this->inline = true;
        $options = optionsParser($options)->delete('inline')->append('class', 'form-inline');

        return parent::create($model, $options->toArray());
    }