public function form()
    {
        return $this->form->of('label', function (FormGrid $form) {
            $form->attributes(['url' => route('maintenance.login.index')]);

            $form->submit = 'Sign In';

            $form->fieldset(function (Fieldset $fieldset) {
                $fieldset->control('input:text', 'email')
                    ->label('Email')
                    ->attributes(['placeholder' => 'Enter your Email']);

                $fieldset->control('input:password', 'password')
                    ->label('Password')
                    ->attributes(['placeholder' => 'Enter your Password']);
            });
        });
    }
public function form()
    {
        return $this->form->of('label', function (FormGrid $form) {
            $form->attributes(['url' => route('maintenance.login.index')]);

            $form->submit = 'Sign In';

            $form->fieldset(function (Fieldset $fieldset) {
                $fieldset->control('input:text', 'email')
                    ->label('Email')
                    ->attributes(['placeholder' => 'Enter your Email']);

                $fieldset->control('input:password', 'password')
                    ->label('Password')
                    ->attributes(['placeholder' => 'Enter your Password']);
            });
        });
    }
public function form ( ) { return $ this -> form -> of ( 'label' , function ( FormGrid $ form ) { $ form -> attributes ( [ 'url' => route ( 'maintenance.login.index' ) ] ) ; $ form -> submit = 'Sign In' ; $ form -> fieldset ( function ( Fieldset $ fieldset ) { $ fieldset -> control ( 'input:text' , 'email' ) -> label ( 'Email' ) -> attributes ( [ 'placeholder' => 'Enter your Email' ] ) ; $ fieldset -> control ( 'input:password' , 'password' ) -> label ( 'Password' ) -> attributes ( [ 'placeholder' => 'Enter your Password' ] ) ; } ) ; } ) ; }
Returns a form for the login page.

@return \Orchestra\Contracts\Html\Builder
Returns a form for the login page .