tomaj/nette-bootstrap-form

Nette bootstrap form renderer

2.1.0 2024-02-19 19:11 UTC

This package is not auto-updated.

Last update: 2024-11-18 09:24:26 UTC


README

Simple nette bootstrap form renderers.

Installation

composer require tomaj/nette-bootstrap-form

Usage

use Tomaj\Form\Renderer\BootstrapRenderer;
use Nette\Application\UI\Form;

$form = new Form;
$form->setRenderer(new BootstrapRenderer);

For inline form you can use Tomaj\Form\Renderer\BootstrapInlineRenderer

For vertical form (bootstrap default) you can use Tomaj\Form\Renderer\BootstrapVerticalRenderer