Skip to content
No description, website, or topics provided.
PHP
Branch: master
Clone or download
Latest commit 44f391d Aug 13, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/Rendering Initial commit Aug 13, 2019
tests Added tests Aug 13, 2019
.gitignore Initial commit Aug 13, 2019
.travis.yml Initial commit Aug 13, 2019
LICENSE Initial commit Aug 13, 2019
README.md Initial commit Aug 13, 2019
composer.json Initial commit Aug 13, 2019
phpstan.neon Initial commit Aug 13, 2019

README.md

Form renderer for Nette Framework forms


Build Status Licence Latest stable PHPStan

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());
You can’t perform that action at this time.