public function form(Eloquent $model)
    {
        return $this->form->of('control.roles', function (FormGrid $form) use ($model) {
            $form->resource($this, 'orchestra::control/roles', $model);
            $form->hidden('id');

            $form->fieldset(function (Fieldset $fieldset) {
                $fieldset->control('input:text', 'name')
                    ->label(trans('orchestra/control::label.name'));
            });
        });
    }
public function form(Eloquent $model)
    {
        return $this->form->of('control.roles', function (FormGrid $form) use ($model) {
            $form->resource($this, 'orchestra::control/roles', $model);
            $form->hidden('id');

            $form->fieldset(function (Fieldset $fieldset) {
                $fieldset->control('input:text', 'name')
                    ->label(trans('orchestra/control::label.name'));
            });
        });
    }
public function form ( Eloquent $ model ) { return $ this -> form -> of ( 'control.roles' , function ( FormGrid $ form ) use ( $ model ) { $ form -> resource ( $ this , 'orchestra::control/roles' , $ model ) ; $ form -> hidden ( 'id' ) ; $ form -> fieldset ( function ( Fieldset $ fieldset ) { $ fieldset -> control ( 'input:text' , 'name' ) -> label ( trans ( 'orchestra/control::label.name' ) ) ; } ) ; } ) ; }
View form generator for Orchestra\Model\Role.

@param  \Orchestra\Model\Role  $model

@return \Orchestra\Contracts\Html\Form\Builder
View form generator for Orchestra \ Model \ Role .