surda / forms-rendering
Form renderer for Nette Framework forms
v1.1.0
2024-04-10 10:46 UTC
Requires
- php: >=7.1
- nette/application: ^3.0
- nette/forms: ^3.0
Requires (Dev)
- nette/tester: ^2.0
- ninjify/nunjuck: 0.3.x-dev
- phpstan/phpstan: ^0.11
- phpstan/phpstan-deprecation-rules: ^0.11
- phpstan/phpstan-nette: ^0.11
- phpstan/phpstan-strict-rules: ^0.11
This package is auto-updated.
Last update: 2024-11-10 11:57:35 UTC
README
Installation
The recommended way to is via Composer:
composer require surda/forms-rendering
Form rendering
Horizontal orientation form
use Surda\Forms\Rendering\Bs4HorizontalFormRenderer; use Nette\Application\UI\Form; $form = new Form(); $form->setRenderer(new Bs4HorizontalFormRenderer());
Vertical orientation form
use Surda\Forms\Rendering\Bs4VerticalFormRenderer; use Nette\Application\UI\Form; $form = new Form(); $form->setRenderer(new Bs4VerticalFormRenderer());