Componette

Componette

tomaj

tomaj / nette-bootstrap-form 2.0.0

Nette bootstrap forms renderer

download-cloud-line composer require tomaj/nette-bootstrap-form

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

  • 2.0.0 2.0.0

    Updated min php version to 7.1
    Requires nette/form 3.0

  • 1.2.0 1.2.0

    Added Vertical bootstrap from (thanks to ales-zrak)

Componette Componette felix@nette.org