/forms-rendering

Rendering helpers for Nette Framework Forms.

Primary LanguagePHPMIT LicenseMIT

Nextras Forms Rendering

Build Status Downloads this Month Stable version

This package provides rendering helpers Nette Forms.

Form renderers:

  • Bs3Renderer - renderer for Bootstrap 3 with horizontal mode only;
  • Bs4Renderer - renderer for Bootstrap 4 with support for horizontal, vertical and inline mode;
  • Bs5Renderer - renderer for Bootstrap 5 with support for horizontal, vertical and inline mode;

Latte Tags renderers:

  • Bs3FormsExtension - modifies Form Tags to add Bootstrap 3 classes automatically;

Installation

The best way to install is using Composer:

$ composer require nextras/forms-rendering

Register Bs3FormsExtension using Nette DI config:

latte:
    extensions:
        - Nextras\FormsRendering\LatteTags\Bs3\Bs3FormsExtension

Documentation

See examples directory.

License

MIT. See full license.