public function profile($model, $url)
    {
        return $this->form->of('orchestra.account', function (FormGrid $form) use ($model, $url) {
            $form->setup($this, $url, $model);
            $form->hidden('id');

            $form->fieldset(function (Fieldset $fieldset) {
                $fieldset->control('input:text', 'email')
                    ->label(trans('orchestra/foundation::label.users.email'));

                $fieldset->control('input:text', 'fullname')
                    ->label(trans('orchestra/foundation::label.users.fullname'));
            });
        });
    }
public function profile($model, $url)
    {
        return $this->form->of('orchestra.account', function (FormGrid $form) use ($model, $url) {
            $form->setup($this, $url, $model);
            $form->hidden('id');

            $form->fieldset(function (Fieldset $fieldset) {
                $fieldset->control('input:text', 'email')
                    ->label(trans('orchestra/foundation::label.users.email'));

                $fieldset->control('input:text', 'fullname')
                    ->label(trans('orchestra/foundation::label.users.fullname'));
            });
        });
    }
public function profile ( $ model , $ url ) { return $ this -> form -> of ( 'orchestra.account' , function ( FormGrid $ form ) use ( $ model , $ url ) { $ form -> setup ( $ this , $ url , $ model ) ; $ form -> hidden ( 'id' ) ; $ form -> fieldset ( function ( Fieldset $ fieldset ) { $ fieldset -> control ( 'input:text' , 'email' ) -> label ( trans ( 'orchestra/foundation::label.users.email' ) ) ; $ fieldset -> control ( 'input:text' , 'fullname' ) -> label ( trans ( 'orchestra/foundation::label.users.fullname' ) ) ; } ) ; } ) ; }
Form view generator for User Account.

@param  \Orchestra\Model\User  $model
@param  string  $url

@return \Orchestra\Contracts\Html\Form\Builder
Form view generator for User Account .