Skip to content

tomaj/nette-bootstrap-form

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Nette bootstrap form renderer

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