dev-master
9999999-dev
MIT
The Requires
by Renato Dehnhardt
dev-fix-laravel-5.4
dev-fix-laravel-5.4
MIT
The Requires
by Renato Dehnhardt
dev-add-lookup
dev-add-lookup
MIT
The Requires
by Renato Dehnhardt
Wallogit.com
2017 © Pedro Peláez
Package to make it easier to create forms in the bootstrap with erros validations., (*1)
composer require rdehnhardt/html
Add into the file app.php in providers section, (*2)
Rdehnhardt\Html\HtmlServiceProvider::class,
Add into the file app.php in alias section, (*3)
'Form' => Collective\Html\FormFacade::class, 'Html' => Collective\Html\HtmlFacade::class,
Automatically displays error messages to the user. Simply just use the default request validation of laravel., (*4)
Any blade file, (*5)
{!! Form::open(['method' => 'post', 'route' => ['route.store']]) !!}
{!! Form::openGroup('title', 'Title') !!}
{!! Form::text('title', null, ['placeholder' => 'Title']) !!}
{!! Form::closeGroup() !!}
{!! Form::openGroup('content', 'Content') !!}
{!! Form::textarea('content', null, ['placeholder' => 'Content of post']) !!}
{!! Form::closeGroup() !!}
{!! Form::openFormActions() !!}
{!! Form::submit('Save', ['class' => 'btn btn-primary form-action']) !!}
{!! Form::closeFormActions() !!}
{!! Form::close() !!}
MIT
MIT
MIT