Horizontal
BootstrapRenderer puts labels in col-sm-3 and controls in col-sm-9 of a form-horizontal form.
Set a renderer on a form and every control gets the Bootstrap 3 classes and wrappers. No templates, no per-control code.
use Nette\Forms\Form;
use Tomaj\Form\Renderer\BootstrapRenderer;
$form = new Form();
$form->addText('email', 'E-mail')->setRequired();
$form->addSubmit('send', 'Send');
$form->setRenderer(new BootstrapRenderer());
echo $form;Install it with composer require tomaj/nette-bootstrap-form (PHP 8.4+, nette/forms 3.2+) and read Getting started.